SHA256
1
0
forked from pool/systemd

- 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
This commit is contained in:
Franck Bui 2023-09-27 09:24:14 +00:00 committed by Git OBS Bridge
parent f6340004a3
commit 425b7c38bb
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Sep 27 07:31:06 UTC 2023 - Franck Bui <fbui@suse.com>
- 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 <fbui@suse.com> Mon Sep 25 08:05:21 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -440,7 +440,7 @@ see nss-mymachines(8) manpage for more details.
%if %{with networkd} || %{with resolved} %if %{with networkd} || %{with resolved}
%package network %package network
Summary: systemd network and Network Name Resolution managers Summary: Systemd Network And Network Name Resolution Managers
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%systemd_requires %systemd_requires
@ -1204,7 +1204,10 @@ fi
%endif %endif
%if %{with resolved} %if %{with resolved}
%ldconfig %ldconfig
%if %{without filetriggers}
%sysusers_create systemd-resolve.conf %sysusers_create systemd-resolve.conf
%tmpfiles_create systemd-resolve.conf
%endif
%systemd_post systemd-resolved.service %systemd_post systemd-resolved.service
%endif %endif