From 49cc79e43fbc7d80fec79e2eeb8e3b3c58aa5903 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Thu, 7 Feb 2013 11:07:00 +0100 Subject: [PATCH] /var/lib/net-snmp/mib_indexes and cert_indexes added to net-snmp-libs Resolves: #906761 --- net-snmp.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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)