/var/lib/net-snmp/mib_indexes and cert_indexes added to net-snmp-libs

Resolves: #906761
This commit is contained in:
Jan Safranek 2013-02-07 11:07:00 +01:00
parent 3f09d0ff1e
commit 49cc79e43f

View File

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