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