From b7ee086821850bc5f9bfb9c1ce08617136d1b918 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 17:22:14 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libtiff.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libtiff.spec b/libtiff.spec index a73d678..f49c643 100644 --- a/libtiff.spec +++ b/libtiff.spec @@ -1,7 +1,7 @@ Summary: Library of functions for manipulating TIFF format image files Name: libtiff Version: 4.0.9 -Release: 2%{?dist} +Release: 3%{?dist} License: libtiff Group: System Environment/Libraries URL: http://www.simplesystems.org/libtiff/ @@ -136,9 +136,7 @@ EOF fi -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %check LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH make check @@ -167,6 +165,9 @@ find html -name 'Makefile*' | xargs rm %{_mandir}/man1/* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 4.0.9-3 +- Switch to %%ldconfig_scriptlets + * Mon Dec 11 2017 Nikola Forró - 4.0.9-2 - Fix unescaped macro in changelog entry (#1523643)