From 435927409643c440ea3ecd15a232d6575152125f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:04:14 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libmtp.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libmtp.spec b/libmtp.spec index 8077c06..1a7598b 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -3,7 +3,7 @@ Name: libmtp Version: 1.1.14 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A software library for MTP media players URL: http://libmtp.sourceforge.net/ @@ -86,8 +86,7 @@ touch -r configure.ac \ # Get rid of -rpath chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp* -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING @@ -108,6 +107,9 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp* %{_libdir}/pkgconfig/libmtp.pc %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.1.14-2 +- Switch to %%ldconfig_scriptlets + * Mon Oct 09 2017 Bastien Nocera - 1.1.14-1 + libmtp-1.1.14-1 - Update to 1.1.14