redistribute the perl scripts to the net-snmp package, net-snmp-utils

doesn't depend on perl now Resolves: #462484
This commit is contained in:
Jan Šafránek 2008-09-26 10:46:57 +00:00
parent fe8cbfc66a
commit f76bf9bf4e

View File

@ -312,6 +312,9 @@ for file in "README.aix README.hpux11 README.osX README.Panasonic_AM3X.txt READM
do
rm $file
done
rm $RPM_BUILD_ROOT/%{_bindir}/fixproc
rm $RPM_BUILD_ROOT/%{_mandir}/man1/fixproc*
# trim down massive ChangeLog
dd bs=1024 count=250 if=ChangeLog of=ChangeLog.trimmed
@ -345,32 +348,30 @@ rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root,-)
%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
%doc COPYING ChangeLog.trimmed EXAMPLE.conf FAQ NEWS TODO
%doc README README.agent-mibs README.agentx README.krb5 README.snmpv3
%doc local/passtest
%doc README.thread AGENT.txt PORTING local/README.mib2c local/ipf-mod.pl
%{_initrddir}/snmpd
%{_initrddir}/snmptrapd
%config(noreplace) %{_sysconfdir}/logrotate.d/snmpd
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/snmpd
%config(noreplace,missingok) %{_sysconfdir}/snmp/snmpd.conf
%config(noreplace,missingok) %{_sysconfdir}/snmp/snmptrapd.conf
%{_datadir}/snmp
%{_bindir}/ucd5820stat
%{_bindir}/ipf-mod.pl
%{_bindir}/snmpconf
%{_sbindir}/*
%attr(0644,root,root) %{_mandir}/man[58]/*
%attr(0644,root,root) %{_mandir}/man[58]/snmp*
%attr(0644,root,root) %{_mandir}/man5/variables*
%{_datadir}/snmp/snmpconf-data
%files utils
%defattr(-,root,root,-)
%{_bindir}/fixproc
%{_bindir}/ipf-mod.pl
%{_bindir}/encode_keychange
%{_bindir}/snmp*
%{_bindir}/traptoemail
%{_bindir}/snmp[^c]*
%attr(0644,root,root) %{_mandir}/man1/snmp*.1*
%attr(0644,root,root) %{_mandir}/man1/traptoemail*.1*
%attr(0644,root,root) %{_mandir}/man1/encode_keychange*.1*
%attr(0644,root,root) %{_mandir}/man1/fixproc*.1*
%files devel
@ -386,9 +387,12 @@ rm -rf ${RPM_BUILD_ROOT}
%defattr(-,root,root)
%{_bindir}/mib2c-update
%{_bindir}/mib2c
%attr(0644,root,root) %{_mandir}/man1/mib2c-update*.1*
%attr(0644,root,root) %{_mandir}/man1/mib2c.1*
%{_datadir}/snmp/mib2c*
%{_datadir}/snmp/*.pl
%{_bindir}/traptoemail
%attr(0644,root,root) %{_mandir}/man[15]/mib2c*
%attr(0644,root,root) %{_mandir}/man3/*.3pm.*
%attr(0644,root,root) %{_mandir}/man1/traptoemail*.1*
%files python
%defattr(-,root,root,-)
@ -403,8 +407,13 @@ rm -rf ${RPM_BUILD_ROOT}
%files libs
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%{_datadir}/snmp/mibs
%changelog
* Fri Sep 26 2008 Jan Safranek <jsafranek@redhat.com> 5.4.2-2
- redistribute the perl scripts to the net-snmp package,
net-snmp-utils doesn't depend on perl now (#462484)
* Wed Sep 17 2008 Jan Safranek <jsafranek@redhat.com> 5.4.2-1
- update to net-snmp-5.4.2