diff --git a/net-snmp.spec b/net-snmp.spec index 06aae56..0626b64 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -8,7 +8,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: %{major_ver} -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 1 License: BSD and MIT @@ -356,6 +356,7 @@ rm -rf ${RPM_BUILD_ROOT} %{_initrddir}/snmptrapd %config(noreplace) %{_sysconfdir}/logrotate.d/snmpd %config(noreplace,missingok) %{_sysconfdir}/sysconfig/snmpd +%dir %{_sysconfdir}/snmp %config(noreplace,missingok) %{_sysconfdir}/snmp/snmpd.conf %config(noreplace,missingok) %{_sysconfdir}/snmp/snmptrapd.conf %{_bindir}/ucd5820stat @@ -365,6 +366,7 @@ rm -rf ${RPM_BUILD_ROOT} %attr(0644,root,root) %{_mandir}/man[58]/snmp*d* %attr(0644,root,root) %{_mandir}/man5/snmp_config.5.gz %attr(0644,root,root) %{_mandir}/man5/variables* +%dir %{_datadir}/snmp %{_datadir}/snmp/snmpconf-data %files utils @@ -390,6 +392,7 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-,root,root) %{_bindir}/mib2c-update %{_bindir}/mib2c +%dir %{_datadir}/snmp %{_datadir}/snmp/mib2c* %{_datadir}/snmp/*.pl %{_bindir}/traptoemail @@ -410,9 +413,14 @@ rm -rf ${RPM_BUILD_ROOT} %files libs %defattr(-,root,root) %{_libdir}/lib*.so.* +%dir %{_datadir}/snmp +%dir %{_datadir}/snmp/mibs %{_datadir}/snmp/mibs %changelog +* Mon Dec 1 2008 Jan Safranek 5.4.2.1-5 +- fix rpm ownership of all created directories (#473582) + * Mon Dec 1 2008 Jan Safranek 5.4.2.1-4 - Rebuild for fixed rpm (#473420)