From 2e5c96fba664505b9014aee028fcb489085bc31e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 17:40:14 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- net-snmp.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 91fc9e2..c55376f 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -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 - 1:5.7.3-31 +- Switch to %%ldconfig_scriptlets + * Wed Jan 31 2018 Josef Ridky - 1:5.7.3-30 - remove Group tag - remove sysvinit package and init files (no longer needed)