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}/.*