From 1269edd313fec7e6ebb31c5604e8739a0d4bf379 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 13:32:11 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libgexiv2.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libgexiv2.spec b/libgexiv2.spec index 8f1e3e8..228df3c 100644 --- a/libgexiv2.spec +++ b/libgexiv2.spec @@ -1,6 +1,6 @@ Name: libgexiv2 Version: 0.10.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library License: GPLv2+ @@ -68,8 +68,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %check make check -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING @@ -99,6 +98,9 @@ make check %endif %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.10.7-2 +- Switch to %%ldconfig_scriptlets + * Sat Dec 30 2017 Ankur Sinha - 0.10.7-1 - Update to latest upstream release