From 1306c9a80d1ff2216adf64c3eacce6315c22ef88 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 23 Jan 2018 13:27:36 +0100 Subject: [PATCH] add ldconfig install scripts to ghc_lib_subpackage --- ghc-rpm-macros.spec | 1 + macros.ghc-extra | 4 ++++ 2 files changed, 5 insertions(+) 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\ \