Accepting request 1093498 from Base:System

- Bump to version 23

- Restore the check that prevents systemd-tmpfiles to run during transactional updates
  The check has been mistakenly dropped during the switch to file-triggers.

OBS-URL: https://build.opensuse.org/request/show/1093498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd-rpm-macros?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2023-06-16 14:53:13 +00:00 committed by Git OBS Bridge
commit 1a62a2b953
3 changed files with 15 additions and 3 deletions

View File

@ -226,7 +226,7 @@ fi \
%tmpfiles_create() \
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# tmpfiles_create}} \
[ -d /run/systemd/system ] && [ -x /usr/bin/systemd-tmpfiles ] && \
[ -z "${TRANSACTIONAL_UPDATE}" ] && [ -x /usr/bin/systemd-tmpfiles ] && \
/usr/bin/systemd-tmpfiles --create %{?*} || : \
%{nil}
@ -273,7 +273,7 @@ SYSTEMD_INLINE_EOF\
#
%sysusers_create_package() \
%{expand:%%{?!__systemd_twoargs_%#:%%{error:The %%%%sysusers_create_package macro requires two arguments}}} \
[ -x /usr/bin/systemd-sysusers ] && \
[ -z "${TRANSACTIONAL_UPDATE}" ] && [ -x /usr/bin/systemd-tmpfiles ] && \
/usr/bin/systemd-sysusers --replace=%_sysusersdir/%1.conf - <<SYSTEMD_INLINE_EOF || : \
%(cat %2) \
SYSTEMD_INLINE_EOF\

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Jun 16 13:11:34 UTC 2023 - Franck Bui <fbui@suse.com>
- Bump to version 23
-------------------------------------------------------------------
Fri Jun 16 13:00:59 UTC 2023 - Franck Bui <fbui@suse.com>
- Restore the check that prevents systemd-tmpfiles to run during transactional updates
The check has been mistakenly dropped during the switch to file-triggers.
-------------------------------------------------------------------
Mon May 15 09:21:26 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -17,7 +17,7 @@
Name: systemd-rpm-macros
Version: 22
Version: 23
Release: 0
Summary: RPM macros for systemd
License: LGPL-2.1-or-later