From 9a5c936eb4c0d9ae427f76bea98f95ed08e10fff Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:55 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libnatpmp.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libnatpmp.spec b/libnatpmp.spec index 644af78..57aa790 100644 --- a/libnatpmp.spec +++ b/libnatpmp.spec @@ -40,9 +40,7 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ";" -print make testgetgateway ./testgetgateway -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license LICENSE