From e39f984606b9bf4500b23f9aaa7cef7533ba798d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:44 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libgdiplus.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libgdiplus.spec b/libgdiplus.spec index 8990500..f5b3aa7 100644 --- a/libgdiplus.spec +++ b/libgdiplus.spec @@ -49,9 +49,7 @@ make %{?_smp_mflags} %make_install find %{buildroot} -name '*.la' -exec rm -f {} ';' -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc}