- Remove .la file from net-snmp-libs (#172618)

This commit is contained in:
Radek Vokál 2005-11-08 08:38:11 +00:00
parent dfc2de9399
commit 8b182a0ed4

View File

@ -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 <rvokal@redhat.com> - 5.2.2-0.rc4.2
- Remove .la file from net-snmp-libs (#172618)
* Mon Nov 07 2005 Radek Vokal <rvokal@redhat.com> - 5.2.2-0.rc4.1
- update to release candidate 4