Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent df6ba84fb3
commit 254f896897
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,6 +1,6 @@
Name: hiredis Name: hiredis
Version: 0.13.3 Version: 0.13.3
Release: 6%{?dist} Release: 7%{?dist}
Summary: Minimalistic C client library for Redis Summary: Minimalistic C client library for Redis
License: BSD License: BSD
URL: https://github.com/redis/hiredis 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. # TODO: Koji isolated environment may cause some tests fail to pass.
make check || true make check || true
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files %files
%doc COPYING %doc COPYING
@ -56,6 +54,9 @@ make check || true
%{_libdir}/pkgconfig/hiredis.pc %{_libdir}/pkgconfig/hiredis.pc
%changelog %changelog
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.3-7
- Switch to %%ldconfig_scriptlets
* Mon Oct 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.3-6 * Mon Oct 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.3-6
- Fix FTBFS - Fix FTBFS

Loading…
Cancel
Save