From 5e823e539ab5259b4c55cefd835bbfcbec37f187 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 13:29:09 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libconfig.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libconfig.spec b/libconfig.spec index eadc4a7..68b25c5 100644 --- a/libconfig.spec +++ b/libconfig.spec @@ -1,7 +1,7 @@ Name: libconfig Summary: C/C++ configuration file library Version: 1.5 -Release: 7%{?dist} +Release: 8%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz @@ -50,13 +50,11 @@ install -p %{SOURCE1} doc/ %check ./tests/libconfig_tests -%post -p /sbin/ldconfig +%ldconfig_scriptlets %post devel /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : -%postun -p /sbin/ldconfig - %preun devel if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : @@ -74,6 +72,9 @@ fi %{_infodir}/libconfig.info* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.5-8 +- Switch to %%ldconfig_scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild