diff --git a/libosmo-netif.spec b/libosmo-netif.spec index b363d9b..5651a34 100644 --- a/libosmo-netif.spec +++ b/libosmo-netif.spec @@ -80,8 +80,7 @@ if ! %make_build check; then # timing issue fi -%post -n libosmonetif11 -p /sbin/ldconfig -%postun -n libosmonetif11 -p /sbin/ldconfig +%ldconfig_scriptlets -n libosmonetif11 %files -n libosmonetif11 %_libdir/libosmonetif.so.*