mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 13:00:12 +01:00
contrib/rpm: use "%ldconfig_scriptlets" for Fedora 30+
https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets5c6421bc88(cherry picked from commitad836541cb)
This commit is contained in:
parent
ace926e648
commit
c110c1983e
1 changed files with 5 additions and 1 deletions
|
|
@ -805,11 +805,15 @@ fi
|
|||
%systemd_postun
|
||||
|
||||
|
||||
%if 0%{?fedora} >= 30
|
||||
%ldconfig_scriptlets glib
|
||||
%ldconfig_scriptlets libnm
|
||||
%else
|
||||
%post glib -p /sbin/ldconfig
|
||||
%postun glib -p /sbin/ldconfig
|
||||
|
||||
%post libnm -p /sbin/ldconfig
|
||||
%postun libnm -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue