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.*