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
|
||||
Name: net-snmp
|
||||
Version: 5.7.3
|
||||
Release: 30%{?dist}
|
||||
Release: 31%{?dist}
|
||||
Epoch: 1
|
||||
|
||||
License: BSD
|
||||
@ -397,11 +397,8 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
|
||||
%postun
|
||||
%systemd_postun_with_restart snmpd.service snmptrapd.service
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%post agent-libs -p /sbin/ldconfig
|
||||
%postun agent-libs -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets libs
|
||||
%ldconfig_scriptlets agent-libs
|
||||
|
||||
%files
|
||||
%doc COPYING ChangeLog.trimmed EXAMPLE.conf FAQ NEWS TODO
|
||||
@ -488,6 +485,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
|
||||
%{_libdir}/libnetsnmptrapd*.so.*
|
||||
|
||||
%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
|
||||
- remove Group tag
|
||||
- remove sysvinit package and init files (no longer needed)
|
||||
|
Loading…
Reference in New Issue
Block a user