diff --git a/net-snmp.spec b/net-snmp.spec index 50a1565..17458e9 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -11,7 +11,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: 5.7.2 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 1 License: BSD @@ -299,6 +299,8 @@ install -m 644 %SOURCE8 ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/snmptrapd # prepare /var/lib/net-snmp install -d ${RPM_BUILD_ROOT}%{_localstatedir}/lib/net-snmp +install -d ${RPM_BUILD_ROOT}%{_localstatedir}/lib/net-snmp/mib_indexes +install -d ${RPM_BUILD_ROOT}%{_localstatedir}/lib/net-snmp/cert_indexes install -d ${RPM_BUILD_ROOT}%{_localstatedir}/run/net-snmp # remove things we don't want to distribute @@ -477,6 +479,8 @@ rm -rf ${RPM_BUILD_ROOT} %dir %{_datadir}/snmp/mibs %{_datadir}/snmp/mibs/* %dir %{_localstatedir}/lib/net-snmp +%dir %{_localstatedir}/lib/net-snmp/mib_indexes +%dir %{_localstatedir}/lib/net-snmp/cert_indexes %files agent-libs %{_libdir}/libnetsnmpagent*.so.* @@ -489,8 +493,10 @@ rm -rf ${RPM_BUILD_ROOT} %{_initrddir}/snmptrapd %changelog -* Thu Feb 7 2013 Jan Safranek +* Thu Feb 7 2013 Jan Safranek - 1:5.7.2-6 - fixed net-snmp-create-v3-user to have the same content on all architectures +- /var/lib/net-snmp/mib_indexes and cert_indexes added to net-snmp-libs + (#906761) * Thu Jan 17 2013 Jan Safranek - 1:5.7.2-5 - Python: fixed IPADDRESS size on 64-bit systems (#895357)