- Make use of %ldconfig_scriptlets

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1239
This commit is contained in:
Franck Bui 2022-01-31 10:21:19 +00:00 committed by Git OBS Bridge
parent 6cfe6f2376
commit 3868d6b01d
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 31 10:19:23 UTC 2022 - Franck Bui <fbui@suse.com>
- Make use of %ldconfig_scriptlets
-------------------------------------------------------------------
Fri Jan 28 16:04:36 UTC 2022 - Franck Bui <fbui@suse.com>

View File

@ -1129,11 +1129,8 @@ fi
%endif
%if ! 0%{?bootstrap}
%post -n nss-myhostname -p /sbin/ldconfig
%postun -n nss-myhostname -p /sbin/ldconfig
%post -n nss-systemd -p /sbin/ldconfig
%postun -n nss-systemd -p /sbin/ldconfig
%ldconfig_scriptlets -n nss-myhostname
%ldconfig_scriptlets -n nss-systemd
%endif
%if %{with journal_remote}