From d8fd430c42d20139b79a239fe8fc696a9a4ef7d5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 12:37:02 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- expat.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/expat.spec b/expat.spec index 0e3b460..75c729b 100644 --- a/expat.spec +++ b/expat.spec @@ -3,7 +3,7 @@ Summary: An XML parser library Name: expat Version: %(echo %{unversion} | sed 's/_/./g') -Release: 1%{?dist} +Release: 2%{?dist} Source: https://github.com/libexpat/libexpat/archive/R_%{unversion}.tar.gz#/expat-%{version}.tar.gz URL: https://libexpat.github.io/ License: MIT @@ -54,8 +54,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %check make check -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc} @@ -75,6 +74,9 @@ make check %{_libdir}/lib*.a %changelog +* Sat Feb 03 2018 Igor Gnatenko - 2.2.5-2 +- Switch to %%ldconfig_scriptlets + * Thu Nov 2 2017 Joe Orton - 2.2.5-1 - update to 2.2.5 (#1508667)