From f09dd86c1c6cd2e0fa784b995589470f22b840b6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 03 2018 17:14:38 +0000 Subject: Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/libusbx.spec b/libusbx.spec index 752d27a..b0ec306 100644 --- a/libusbx.spec +++ b/libusbx.spec @@ -1,7 +1,7 @@ Summary: Library for accessing USB devices Name: libusbx Version: 1.0.21 -Release: 4%{?dist} +Release: 5%{?dist} # upstream libusbx has merged back with libusb and is now called libusb again # but we already have a libusb package for the old libusb-compat-0.1, renaming # that to libusb-compat while at the same time giving this its name is a bit @@ -69,8 +69,7 @@ popd rm $RPM_BUILD_ROOT%{_libdir}/*.la -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files @@ -88,6 +87,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.0.21-5 +- Switch to %%ldconfig_scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.21-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild