From 039dbce1fe302af0ec2f8c98b5d4441307cfdbfd Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:36 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- opensm.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opensm.spec b/opensm.spec index de3ab34..ac2458d 100644 --- a/opensm.spec +++ b/opensm.spec @@ -99,9 +99,7 @@ if [ -d /var/cache/opensm ]; then fi %systemd_postun_with_restart opensm.service -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files %dir /var/cache/opensm