diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 7fb43f9..a6bb427 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -167,6 +167,7 @@ EOF - dynlibs in _libdir - drop ghc_without_shared - ghc_fix_rpath removes RPATHs for 8.2+ +- add ldconfig install scripts to ghc_lib_subpackage * Mon Dec 4 2017 Jens Petersen - 1.6.51-1 - add ghc_set_cflags macro diff --git a/macros.ghc-extra b/macros.ghc-extra index 9d98fda..1ca77e6 100644 --- a/macros.ghc-extra +++ b/macros.ghc-extra @@ -45,6 +45,10 @@ Requires: %{ghc_prefix}-%{pkgname}%{?_isa} = %{pkgver}-%{release}\ %description -n %{basepkg}-devel\ This package provides the Haskell %{pkgname} library development files.\ \ +%post -n %{basepkg} -p /sbin/ldconfig\ +\ +%postun -n %{basepkg} -p /sbin/ldconfig\ +\ %post -n %{basepkg}-devel\ %ghc_pkg_recache\ \