From 3868d6b01df970298f0bf502ab51d65287ccbb03471a395d0dcfb0ce70a04c22 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 31 Jan 2022 10:21:19 +0000 Subject: [PATCH] - Make use of %ldconfig_scriptlets OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1239 --- systemd.changes | 5 +++++ systemd.spec | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/systemd.changes b/systemd.changes index 20b5991f..0e5f1fc0 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 a3d21fff..fb010f83 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}