Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
e256d0f874
commit
2e5c96fba6
@ -9,7 +9,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.3
|
Version: 5.7.3
|
||||||
Release: 30%{?dist}
|
Release: 31%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -397,11 +397,8 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
|
|||||||
%postun
|
%postun
|
||||||
%systemd_postun_with_restart snmpd.service snmptrapd.service
|
%systemd_postun_with_restart snmpd.service snmptrapd.service
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%ldconfig_scriptlets libs
|
||||||
%postun libs -p /sbin/ldconfig
|
%ldconfig_scriptlets agent-libs
|
||||||
|
|
||||||
%post agent-libs -p /sbin/ldconfig
|
|
||||||
%postun agent-libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING ChangeLog.trimmed EXAMPLE.conf FAQ NEWS TODO
|
%doc COPYING ChangeLog.trimmed EXAMPLE.conf FAQ NEWS TODO
|
||||||
@ -488,6 +485,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
|
|||||||
%{_libdir}/libnetsnmptrapd*.so.*
|
%{_libdir}/libnetsnmptrapd*.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:5.7.3-31
|
||||||
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Wed Jan 31 2018 Josef Ridky <jridky@redhat.com> - 1:5.7.3-30
|
* Wed Jan 31 2018 Josef Ridky <jridky@redhat.com> - 1:5.7.3-30
|
||||||
- remove Group tag
|
- remove Group tag
|
||||||
- remove sysvinit package and init files (no longer needed)
|
- remove sysvinit package and init files (no longer needed)
|
||||||
|
Loading…
Reference in New Issue
Block a user