From 88efedfe73497b14e0860cf290c135e90e30414a Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Wed, 22 Sep 2004 14:25:26 +0000 Subject: [PATCH] - move ldconfig to libs subrpm --- net-snmp.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 857d813..20e72b0 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -3,7 +3,7 @@ Summary: A collection of SNMP protocol tools and libraries. Name: net-snmp Version: 5.1.2 -Release: 6 +Release: 7 License: BSDish Group: System Environment/Daemons Source0: ftp://net-snmp.sourceforge.net/net-snmp-%{version}.tar.gz @@ -234,7 +234,6 @@ find $RPM_BUILD_ROOT -name '*.so' | xargs chmod 0755 %post -/sbin/ldconfig /sbin/chkconfig --add snmpd /sbin/chkconfig --add snmptrapd @@ -249,12 +248,15 @@ if [ $1 = 0 ]; then fi %postun -/sbin/ldconfig if [ "$1" -ge "1" ]; then service snmpd condrestart >/dev/null 2>&1 || : service snmptrapd condrestart >/dev/null 2>&1 || : fi +%post libs -p /sbin/ldconfig + +%postun libs -p /sbin/ldconfig + %clean rm -rf ${RPM_BUILD_ROOT} @@ -302,6 +304,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/*.la %changelog +* Wed Sep 22 2004 Florian La Roche +- move ldconfig post/postun to libs subrpm + * Wed Sep 15 2004 Phil Knirsch 5.1.2-6 - Split out libs package for multilib compatibility