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