From 45cb0aad1f154a0d39b34228fab04e5d4d5836e0 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:18:35 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libunistring.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libunistring.spec b/libunistring.spec index 2606072..d7953c2 100644 --- a/libunistring.spec +++ b/libunistring.spec @@ -1,6 +1,6 @@ Name: libunistring Version: 0.9.8 -Release: 1%{?dist} +Release: 2%{?dist} Group: System Environment/Libraries Summary: GNU Unicode string library License: GPLV2+ or LGPLv3+ @@ -58,9 +58,7 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/unistring %{_includedir}/*.h -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %post devel /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : @@ -71,6 +69,9 @@ if [ $1 = 0 ]; then fi %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.9.8-2 +- Switch to %%ldconfig_scriptlets + * Sat Dec 2 2017 Daiki Ueno - 0.9.8-1 - Update to 0.9.8