From 96300c320bf076c475ea7b11e61e308b55e3fd90 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:38:33 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- babeltrace.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/babeltrace.spec b/babeltrace.spec index e02d053..e33459e 100644 --- a/babeltrace.spec +++ b/babeltrace.spec @@ -87,8 +87,7 @@ rm -f %{buildroot}/%{_pkgdocdir}/gpl-2.0.txt rm -f %{buildroot}/%{_pkgdocdir}/mit-license.txt rm -f %{buildroot}/%{_pkgdocdir}/std-ext-lib.txt -%post -n lib%{name} -p /sbin/ldconfig -%postun -n lib%{name} -p /sbin/ldconfig +%ldconfig_scriptlets -n lib%{name} %files %doc ChangeLog