diff --git a/systemd.changes b/systemd.changes index 20b5991..0e5f1fc 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 31 10:19:23 UTC 2022 - Franck Bui + +- Make use of %ldconfig_scriptlets + ------------------------------------------------------------------- Fri Jan 28 16:04:36 UTC 2022 - Franck Bui diff --git a/systemd.spec b/systemd.spec index a3d21ff..fb010f8 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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}