From fb360b1f4fffec13c27aa67545b6139d0f6e664b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 12:35:57 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- createrepo_c.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/createrepo_c.spec b/createrepo_c.spec index c9c775a..fb514a6 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -20,7 +20,7 @@ Summary: Creates a common metadata repository Name: createrepo_c Version: 0.10.0 -Release: 15%{?dist} +Release: 16%{?dist} License: GPLv2+ URL: https://github.com/rpm-software-management/createrepo_c Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz @@ -156,8 +156,7 @@ pushd build-py3 popd %endif -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files %doc README.md @@ -190,6 +189,9 @@ popd %endif %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.10.0-16 +- Switch to %%ldconfig_scriptlets + * Fri Dec 22 2017 Patrick Uiterwijk - 0.10.0-15 - Backport PR#64 and #66