From a681add66f6e3ba8cc8b707aeac0e7bc349ba102 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:57 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libnfnetlink.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libnfnetlink.spec b/libnfnetlink.spec index 46ab5d0..85ca121 100644 --- a/libnfnetlink.spec +++ b/libnfnetlink.spec @@ -39,8 +39,7 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc}