use macro for ldconfig scriptlets
This commit is contained in:
parent
03f9fea8fc
commit
45514d6913
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user