diff --git a/gpsd.spec b/gpsd.spec index 66de106..7ea8172 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -243,14 +243,10 @@ desktop-file-install \ # Don't restart the service %systemd_postun -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %if %{with_qt} -%post qt -p /sbin/ldconfig - -%postun qt -p /sbin/ldconfig +%ldconfig_scriptlets qt %endif %files