fix rpm ownership of all created directories Resolves: #473582
This commit is contained in:
parent
de70fdc19e
commit
43843165cc
@ -8,7 +8,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: %{major_ver}
|
Version: %{major_ver}
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
@ -356,6 +356,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_initrddir}/snmptrapd
|
%{_initrddir}/snmptrapd
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/snmpd
|
%config(noreplace) %{_sysconfdir}/logrotate.d/snmpd
|
||||||
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/snmpd
|
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/snmpd
|
||||||
|
%dir %{_sysconfdir}/snmp
|
||||||
%config(noreplace,missingok) %{_sysconfdir}/snmp/snmpd.conf
|
%config(noreplace,missingok) %{_sysconfdir}/snmp/snmpd.conf
|
||||||
%config(noreplace,missingok) %{_sysconfdir}/snmp/snmptrapd.conf
|
%config(noreplace,missingok) %{_sysconfdir}/snmp/snmptrapd.conf
|
||||||
%{_bindir}/ucd5820stat
|
%{_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}/man[58]/snmp*d*
|
||||||
%attr(0644,root,root) %{_mandir}/man5/snmp_config.5.gz
|
%attr(0644,root,root) %{_mandir}/man5/snmp_config.5.gz
|
||||||
%attr(0644,root,root) %{_mandir}/man5/variables*
|
%attr(0644,root,root) %{_mandir}/man5/variables*
|
||||||
|
%dir %{_datadir}/snmp
|
||||||
%{_datadir}/snmp/snmpconf-data
|
%{_datadir}/snmp/snmpconf-data
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
@ -390,6 +392,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/mib2c-update
|
%{_bindir}/mib2c-update
|
||||||
%{_bindir}/mib2c
|
%{_bindir}/mib2c
|
||||||
|
%dir %{_datadir}/snmp
|
||||||
%{_datadir}/snmp/mib2c*
|
%{_datadir}/snmp/mib2c*
|
||||||
%{_datadir}/snmp/*.pl
|
%{_datadir}/snmp/*.pl
|
||||||
%{_bindir}/traptoemail
|
%{_bindir}/traptoemail
|
||||||
@ -410,9 +413,14 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
%dir %{_datadir}/snmp
|
||||||
|
%dir %{_datadir}/snmp/mibs
|
||||||
%{_datadir}/snmp/mibs
|
%{_datadir}/snmp/mibs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 1 2008 Jan Safranek <jsafranek@redhat.com> 5.4.2.1-5
|
||||||
|
- fix rpm ownership of all created directories (#473582)
|
||||||
|
|
||||||
* Mon Dec 1 2008 Jan Safranek <jsafranek@redhat.com> 5.4.2.1-4
|
* Mon Dec 1 2008 Jan Safranek <jsafranek@redhat.com> 5.4.2.1-4
|
||||||
- Rebuild for fixed rpm (#473420)
|
- Rebuild for fixed rpm (#473420)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user