From 9914f51b1b8e8e9caa3131f8c0acc313c969a551 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Oct 16 2014 08:04:18 +0000 Subject: add $ to ghc.attr library path; update changelog date --- diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 1b50f73..bfff899 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -93,7 +93,7 @@ EOF %changelog -* Mon Sep 29 2014 Jens Petersen - 1.3.7-1 +* Thu Oct 16 2014 Jens Petersen - 1.3.7-1 - ghc.attr needs to handle requires for /usr/bin files too * Wed Sep 10 2014 Jens Petersen - 1.3.6-1 diff --git a/ghc.attr b/ghc.attr index 1a4f6b7..4a34f03 100644 --- a/ghc.attr +++ b/ghc.attr @@ -1,3 +1,3 @@ %__ghc_provides %{_rpmconfigdir}/ghc-deps.sh --provides %{buildroot}%{ghclibdir} %__ghc_requires %{_rpmconfigdir}/ghc-deps.sh --requires %{buildroot}%{ghclibdir} -%__ghc_path ^%{ghclibdir}/.*/libHS.*\\.(so|a) || ^%{_bindir}/.* +%__ghc_path ^%{ghclibdir}/.*/libHS.*\\.(so|a)$ || ^%{_bindir}/.*