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.