From 254f896897325ebfdfd877349b257b43f9bcafac Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 31 Jan 2018 17:51:46 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- hiredis.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hiredis.spec b/hiredis.spec index 17bed18..47862f6 100644 --- a/hiredis.spec +++ b/hiredis.spec @@ -1,6 +1,6 @@ Name: hiredis Version: 0.13.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Minimalistic C client library for Redis License: BSD URL: https://github.com/redis/hiredis @@ -40,9 +40,7 @@ cd %{buildroot}%{_libdir} && ln -sf libhiredis.so.0.13 libhiredis.so.0 # TODO: Koji isolated environment may cause some tests fail to pass. make check || true -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc COPYING @@ -56,6 +54,9 @@ make check || true %{_libdir}/pkgconfig/hiredis.pc %changelog +* Wed Jan 31 2018 Igor Gnatenko - 0.13.3-7 +- Switch to %%ldconfig_scriptlets + * Mon Oct 30 2017 Igor Gnatenko - 0.13.3-6 - Fix FTBFS