From 0a3a06596e06be8cadafef85db10918135025caf Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:11:41 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libcap-ng.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/libcap-ng.spec b/libcap-ng.spec index 8ca2c21..0edb8c7 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -3,7 +3,7 @@ Summary: An alternate posix capabilities library Name: libcap-ng Version: 0.7.8 -Release: 8%{?dist} +Release: 9%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://people.redhat.com/sgrubb/libcap-ng @@ -94,13 +94,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_capng.la %check make check -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - +%ldconfig_scriptlets %files %defattr(-,root,root,-) @@ -134,6 +128,9 @@ rm -rf $RPM_BUILD_ROOT %attr(0644,root,root) %{_mandir}/man8/* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.7.8-9 +- Switch to %%ldconfig_scriptlets + * Fri Jan 05 2018 Iryna Shcherbina - 0.7.8-8 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)