Moved tmpfiles.d config file to /usr/lib
This commit is contained in:
parent
b65d28ef8b
commit
9f778a0713
@ -11,7 +11,7 @@
|
||||
Summary: A collection of SNMP protocol tools and libraries
|
||||
Name: net-snmp
|
||||
Version: 5.7.2
|
||||
Release: 16%{?dist}
|
||||
Release: 17%{?dist}
|
||||
Epoch: 1
|
||||
|
||||
License: BSD
|
||||
@ -363,8 +363,8 @@ install -m 755 -d $RPM_BUILD_ROOT/usr/include/net-snmp/agent/util_funcs
|
||||
install -m 644 agent/mibgroup/util_funcs/*.h $RPM_BUILD_ROOT/usr/include/net-snmp/agent/util_funcs
|
||||
|
||||
# systemd stuff
|
||||
install -m 755 -d $RPM_BUILD_ROOT/%{_sysconfdir}/tmpfiles.d/
|
||||
install -m 644 %SOURCE9 $RPM_BUILD_ROOT/%{_sysconfdir}/tmpfiles.d/net-snmp.conf
|
||||
install -m 755 -d $RPM_BUILD_ROOT/%{_tmpfilesdir}
|
||||
install -m 644 %SOURCE9 $RPM_BUILD_ROOT/%{_tmpfilesdir}/net-snmp.conf
|
||||
install -m 755 -d $RPM_BUILD_ROOT/%{_unitdir}
|
||||
install -m 644 %SOURCE10 %SOURCE11 $RPM_BUILD_ROOT/%{_unitdir}/
|
||||
|
||||
@ -440,7 +440,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%dir %{_datadir}/snmp
|
||||
%{_datadir}/snmp/snmpconf-data
|
||||
%dir %{_localstatedir}/run/net-snmp
|
||||
%config(noreplace) %{_sysconfdir}/tmpfiles.d/net-snmp.conf
|
||||
%{_tmpfilesdir}/net-snmp.conf
|
||||
%{_unitdir}/snmp*
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/snmpd
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/snmptrapd
|
||||
@ -509,6 +509,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_initrddir}/snmptrapd
|
||||
|
||||
%changelog
|
||||
* Thu Jan 9 2014 Jan Safranek <jsafrane@redhat.com> - 1:5.7.2-17
|
||||
- Moved tmpfiles.d config file to /usr/lib
|
||||
|
||||
* Thu Dec 5 2013 Jan Safranek <jsafrane@redhat.com> - 1:5.7.2-16
|
||||
- Fixed snmpd crashing when AgentX subagent disconnects in the middle of
|
||||
request processing (#1038011)
|
||||
|
Loading…
Reference in New Issue
Block a user