diff --git a/libtalloc.spec b/libtalloc.spec index 0240fc0..0ed244e 100644 --- a/libtalloc.spec +++ b/libtalloc.spec @@ -6,7 +6,7 @@ Name: libtalloc Version: 2.1.11 -Release: 2%{?dist} +Release: 3%{?dist} Group: System Environment/Daemons Summary: The talloc library License: LGPLv3+ @@ -154,19 +154,18 @@ cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir} %{_libdir}/libpytalloc-util.cpython*.so %endif -%post -p /sbin/ldconfig +%ldconfig_scriptlets -%postun -p /sbin/ldconfig - -%post -n python2-talloc -p /sbin/ldconfig -%postun -n python2-talloc -p /sbin/ldconfig +%ldconfig_scriptlets -n python2-talloc %if 0%{?with_python3} -%post -n python3-talloc -p /sbin/ldconfig -%postun -n python3-talloc -p /sbin/ldconfig +%ldconfig_scriptlets -n python3-talloc %endif %changelog +* Sat Feb 03 2018 Igor Gnatenko - 2.1.11-3 +- Switch to %%ldconfig_scriptlets + * Sat Jan 20 2018 Björn Esser - 2.1.11-2 - Rebuilt for switch to libxcrypt