From 75f71d05206203552913830dac1985b7929bb91a Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Wed, 26 Sep 2012 13:12:27 +0800 Subject: [PATCH] Fix scriptlets, ldconfig is needed for the libs subpackage, not the main one --- ipset.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ipset.spec b/ipset.spec index ca9de74..183aad7 100644 --- a/ipset.spec +++ b/ipset.spec @@ -66,10 +66,10 @@ make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -f '{}' \; -%post -p /sbin/ldconfig +%post libs -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %files @@ -88,6 +88,8 @@ find %{buildroot} -name '*.la' -exec rm -f '{}' \; %changelog +- Fix scriptlets, ldconfig is needed for the libs subpackage, not the main one. + * Mon Jul 30 2012 Mathieu Bridon - 6.13-1 - New upstream release. - Split out the library in its own subpackage.