From a892345a1794f2b44173d13b7672b4edfd86d20e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 31 Jan 2018 17:23:39 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- librepo.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/librepo.spec b/librepo.spec index 054e80b..35477fc 100644 --- a/librepo.spec +++ b/librepo.spec @@ -10,7 +10,7 @@ Name: librepo Version: 1.8.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Repodata downloading library License: LGPLv2+ @@ -117,9 +117,7 @@ pushd build-py3 popd %endif -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING @@ -140,6 +138,9 @@ popd %endif %changelog +* Wed Jan 31 2018 Igor Gnatenko - 1.8.1-5 +- Switch to %%ldconfig_scriptlets + * Tue Nov 07 2017 Igor Gnatenko - 1.8.1-4 - Use better Obsoletes for platform-python