diff --git a/sphinx.spec b/sphinx.spec index 5adb4a7..1f23e04 100644 --- a/sphinx.spec +++ b/sphinx.spec @@ -228,9 +228,7 @@ exit 0 %preun %systemd_preun searchd.service -%post -n libsphinxclient -p /sbin/ldconfig - -%postun -n libsphinxclient -p /sbin/ldconfig +%ldconfig_scriptlets -n libsphinxclient %postun %systemd_postun_with_restart searchd.service