use macro for ldconfig scriptlets

This commit is contained in:
Miroslav Lichvar 2018-01-30 11:45:16 +01:00
parent 03f9fea8fc
commit 45514d6913

View File

@ -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