From 5a9f4e543fdd1fc3ef5924b6e30ebbbcaded2c9f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:53 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- sanlock.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sanlock.spec b/sanlock.spec index 436744a..ebac41d 100644 --- a/sanlock.spec +++ b/sanlock.spec @@ -143,9 +143,7 @@ a shared storage lock manager. Hosts connected to a common SAN can use this to synchronize their access to the shared disks. -%post lib -p /sbin/ldconfig - -%postun lib -p /sbin/ldconfig +%ldconfig_scriptlets lib %files lib %{_libdir}/libsanlock.so.*