From 6f164d900b49ba40563440026764e1b141679657 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 31 Jan 2018 17:50:05 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libcomps.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libcomps.spec b/libcomps.spec index ce98fd1..379892a 100644 --- a/libcomps.spec +++ b/libcomps.spec @@ -6,7 +6,7 @@ Name: libcomps Version: 0.1.8 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Comps XML file manipulation library License: GPLv2+ @@ -114,8 +114,7 @@ pushd build-py3 popd %endif -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING @@ -141,6 +140,9 @@ popd %endif %changelog +* Wed Jan 31 2018 Igor Gnatenko - 0.1.8-10 +- Switch to %%ldconfig_scriptlets + * Tue Nov 07 2017 Igor Gnatenko - 0.1.8-9 - Use better Obsoletes for platform-python