From d3e03887004564f34b1706fc847be89bf8bff6db Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 30 Jan 2018 09:26:21 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libxml2.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libxml2.spec b/libxml2.spec index 56a2e59..06b9e2b 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -1,6 +1,6 @@ Name: libxml2 Version: 2.9.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library providing XML and HTML support License: MIT @@ -121,9 +121,7 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz %make_build runtests -C py2 %make_build runtests -C py3 -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license Copyright @@ -172,6 +170,9 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz %{python3_sitearch}/libxml2mod.so %changelog +* Tue Jan 30 2018 Igor Gnatenko - 2.9.7-2 +- Switch to %%ldconfig_scriptlets + * Wed Jan 24 2018 Igor Gnatenko - 2.9.7-1 - Update to 2.9.7 - Cleanups in packaging