From 94ec541f98ce09230553b37dbab56bf782c7fb73 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 13:17:21 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- exiv2.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/exiv2.spec b/exiv2.spec index 2a7c714..ecf5008 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -6,7 +6,7 @@ Summary: Exif and Iptc metadata manipulation library Name: exiv2 Version: 0.26 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ URL: http://www.exiv2.org/ @@ -138,8 +138,7 @@ test -x %{buildroot}%{_libdir}/libexiv2.so %{_bindir}/exiv2 %{_mandir}/man1/exiv2*.1* -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files libs %{_libdir}/libexiv2.so.26* @@ -154,6 +153,9 @@ test -x %{buildroot}%{_libdir}/libexiv2.so %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.26-7 +- Switch to %%ldconfig_scriptlets + * Wed Aug 02 2017 Fedora Release Engineering - 0.26-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild