From c27ae1a66d4767dc92048eb4b43182802f22ea46 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:21:42 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- popt.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/popt.spec b/popt.spec index e13d7af..2cc908e 100644 --- a/popt.spec +++ b/popt.spec @@ -1,7 +1,7 @@ Summary: C library for parsing command line parameters Name: popt Version: 1.16 -Release: 12%{?dist} +Release: 13%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.rpm5.org/ @@ -85,9 +85,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/popt.d %check make check -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -f %{name}.lang %license COPYING @@ -110,6 +108,9 @@ make check %{_libdir}/libpopt.a %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.16-13 +- Switch to %%ldconfig_scriptlets + * Thu Oct 12 2017 Robert Scheck 1.16-12 - Added upstream patch to handle glob(3) error returns (#1051685)