From 528b7df124ff281edd4eab17f67d81c87320036f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:47 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libIDL.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libIDL.spec b/libIDL.spec index 873b0f9..757bc9d 100644 --- a/libIDL.spec +++ b/libIDL.spec @@ -47,9 +47,7 @@ make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_libdir}/*a -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %post devel /sbin/install-info --quiet %{_infodir}/libIDL2.info.gz %{_infodir}/dir || :