From e18cb39348f817bcc278e6cd7c05cc0620331154 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 13:41:43 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- giflib.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/giflib.spec b/giflib.spec index 7e64f8c..350ab82 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ Summary: Library for manipulating GIF format image files Name: giflib Version: 4.1.6 -Release: 19%{?dist} +Release: 20%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.sourceforge.net/projects/%{name}/ @@ -70,9 +70,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} # Remove makefile relics from documentation rm -f doc/Makefile* -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc AUTHORS ChangeLog COPYING NEWS README @@ -87,6 +85,9 @@ rm -f doc/Makefile* %{_bindir}/* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 4.1.6-20 +- Switch to %%ldconfig_scriptlets + * Wed Aug 02 2017 Fedora Release Engineering - 4.1.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild