From 425b7c38bbad82c8edc34b95493185b5a26108b535eb3026681fb75d604c4598 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 27 Sep 2023 09:24:14 +0000 Subject: [PATCH] - systemd.spec: add `%tmpfiles_create systemd-resolve` It's only needed by SLE distros since systemd packages rely on transtriggerfiles in Factory. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1447 --- systemd.changes | 8 ++++++++ systemd.spec | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/systemd.changes b/systemd.changes index c6ecaa33..0dcf172a 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Sep 27 07:31:06 UTC 2023 - Franck Bui + +- systemd.spec: add `%tmpfiles_create systemd-resolve` + + It's only needed by SLE distros since systemd packages rely on + transtriggerfiles in Factory. + ------------------------------------------------------------------- Mon Sep 25 08:05:21 UTC 2023 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 1e670cb8..4577683f 100644 --- a/systemd.spec +++ b/systemd.spec @@ -440,7 +440,7 @@ see nss-mymachines(8) manpage for more details. %if %{with networkd} || %{with resolved} %package network -Summary: systemd network and Network Name Resolution managers +Summary: Systemd Network And Network Name Resolution Managers License: LGPL-2.1-or-later Requires: %{name} = %{version}-%{release} %systemd_requires @@ -1204,7 +1204,10 @@ fi %endif %if %{with resolved} %ldconfig +%if %{without filetriggers} %sysusers_create systemd-resolve.conf +%tmpfiles_create systemd-resolve.conf +%endif %systemd_post systemd-resolved.service %endif