From 8b182a0ed417fe609654f96d36f5953306082a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Vok=C3=A1l?= Date: Tue, 8 Nov 2005 08:38:11 +0000 Subject: [PATCH] - Remove .la file from net-snmp-libs (#172618) --- net-snmp.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 47ec968..285a21d 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.2.2 -Release: 0.rc4.1 +Release: 0.rc4.2 License: BSDish Group: System Environment/Daemons URL: http://net-snmp.sourceforge.net/ @@ -176,6 +176,9 @@ popd rm -rf ${RPM_BUILD_ROOT} %makeinstall ucdincludedir=${RPM_BUILD_ROOT}/usr/include/ucd-snmp +# remove .la files +rm ${RPM_BUILD_ROOT}%{_libdir}/*.la + install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/snmp install -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_sysconfdir}/snmp/snmpd.conf @@ -236,6 +239,7 @@ done # trim down massive ChangeLog dd bs=1024 count=250 if=ChangeLog of=ChangeLog.trimmed + %post /sbin/chkconfig --add snmpd /sbin/chkconfig --add snmptrapd @@ -305,9 +309,11 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-,root,root) %{_libdir}/lib*.so.* %{_libdir}/*.a -%{_libdir}/*.la %changelog +* Tue Nov 08 2005 Radek Vokal - 5.2.2-0.rc4.2 +- Remove .la file from net-snmp-libs (#172618) + * Mon Nov 07 2005 Radek Vokal - 5.2.2-0.rc4.1 - update to release candidate 4