From c0fe383f870d9bf885a85bc6286e83759b28aa9b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 03 2018 17:06:28 +0000 Subject: Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- 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