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)