- remove README* that do not apply to Linux
- trim massive ChangeLog
This commit is contained in:
parent
88efedfe73
commit
1ada6b4595
@ -3,7 +3,7 @@
|
||||
Summary: A collection of SNMP protocol tools and libraries.
|
||||
Name: net-snmp
|
||||
Version: 5.1.2
|
||||
Release: 7
|
||||
Release: 8
|
||||
License: BSDish
|
||||
Group: System Environment/Daemons
|
||||
Source0: ftp://net-snmp.sourceforge.net/net-snmp-%{version}.tar.gz
|
||||
@ -232,6 +232,13 @@ find $RPM_BUILD_ROOT/$installvendorarch -type f -print \
|
||||
popd
|
||||
find $RPM_BUILD_ROOT -name '*.so' | xargs chmod 0755
|
||||
|
||||
# remove docs that do not apply to Linux
|
||||
for file in "README.aix README.hpux11 README.osX README.Panasonic_AM3X.txt README.solaris README.win32"
|
||||
do
|
||||
rm $file
|
||||
done
|
||||
# trim down massive ChangeLog
|
||||
dd bs=1024 count=250 in=ChangeLog out=ChangeLog.trimmed
|
||||
|
||||
%post
|
||||
/sbin/chkconfig --add snmpd
|
||||
@ -262,7 +269,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AGENT.txt COPYING ChangeLog EXAMPLE.conf FAQ NEWS PORTING README* TODO
|
||||
%doc AGENT.txt COPYING ChangeLog.trimmed EXAMPLE.conf FAQ NEWS PORTING README* TODO
|
||||
%doc local/passtest local/README.mib2c local/ipf-mod.pl
|
||||
%dir %{_sysconfdir}/snmp
|
||||
%config(noreplace,missingok) %{_sysconfdir}/snmp/snmpd.conf
|
||||
@ -304,6 +311,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_libdir}/*.la
|
||||
|
||||
%changelog
|
||||
* Wed Sep 29 2004 Warren Togami <wtogami@redhat.com> 5.1.2-8
|
||||
- remove README* that do not apply to Linux
|
||||
- trim massive ChangeLog
|
||||
|
||||
* Wed Sep 22 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
||||
- move ldconfig post/postun to libs subrpm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user