From b7d43b6d57f4cdc7caed5130f123c974e985f7b7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:22:10 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libksba.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/libksba.spec b/libksba.spec index 058cfbd..1888c10 100644 --- a/libksba.spec +++ b/libksba.spec @@ -1,7 +1,7 @@ Summary: CMS and X.509 library Name: libksba Version: 1.3.5 -Release: 5%{?dist} +Release: 6%{?dist} # The library is licensed under LGPLv3+ or GPLv2+, # the rest of the package under GPLv3+ @@ -60,13 +60,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la make check -%clean -rm -rf $RPM_BUILD_ROOT - - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %post devel install-info %{_infodir}/ksba.info %{_infodir}/dir ||: @@ -93,6 +87,9 @@ fi %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.3.5-6 +- Switch to %%ldconfig_scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 1.3.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild