commit systemd-rpm-macros for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package systemd-rpm-macros for openSUSE:Factory checked in at 2021-05-23 23:30:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/systemd-rpm-macros (Old) and /work/SRC/openSUSE:Factory/.systemd-rpm-macros.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "systemd-rpm-macros" Sun May 23 23:30:19 2021 rev:35 rq:894598 version:12 Changes: -------- --- /work/SRC/openSUSE:Factory/systemd-rpm-macros/systemd-rpm-macros.changes 2021-03-11 20:06:52.188136751 +0100 +++ /work/SRC/openSUSE:Factory/.systemd-rpm-macros.new.2988/systemd-rpm-macros.changes 2021-05-23 23:30:22.664793780 +0200 @@ -1,0 +2,29 @@ +Thu May 20 10:18:23 UTC 2021 - Franck Bui <fbui@suse.com> + +- Bump to version 12 + +------------------------------------------------------------------- +Thu May 20 09:54:00 UTC 2021 - Franck Bui <fbui@suse.com> + +- Introduce %sysusers_create_package + + %sysusers_create and %sysusers_create_inline are now deprecated and + the new macro should be used instead. + + Upstream commit 07a7d4a0040d221ff09e527e91c112b4ffab1dba. + +- Introduce %tmpfiles_create_package + + %%tmpfiles_create is now deprecreated and the new macros should be + used instead. + + Upstream commit 0f78fee8d039000b987848a558fbaa15d916e14e. + +------------------------------------------------------------------- +Thu May 20 09:45:11 UTC 2021 - Franck Bui <fbui@suse.com> + +- %sysusers_create_inline: use here-docs instead of echo (bsc#1186282) + + Upstream commit dd2490ae12ad1e1795ecbf8f8944b950da9c8d06. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ systemd-rpm-macros.spec ++++++ --- /var/tmp/diff_new_pack.s4vhdN/_old 2021-05-23 23:30:23.152791755 +0200 +++ /var/tmp/diff_new_pack.s4vhdN/_new 2021-05-23 23:30:23.156791738 +0200 @@ -17,7 +17,7 @@ Name: systemd-rpm-macros -Version: 11 +Version: 12 Release: 0 Summary: RPM macros for systemd License: LGPL-2.1-or-later ++++++ macros.systemd ++++++ --- /var/tmp/diff_new_pack.s4vhdN/_old 2021-05-23 23:30:23.200791556 +0200 +++ /var/tmp/diff_new_pack.s4vhdN/_new 2021-05-23 23:30:23.204791539 +0200 @@ -216,19 +216,66 @@ [ -x /usr/bin/journalctl ] && /usr/bin/journalctl --update-catalog || : \ %{nil} +# Deprecated. Use %tmpfiles_create_package instead %tmpfiles_create() \ [ -z "${TRANSACTIONAL_UPDATE}" -a -x /usr/bin/systemd-tmpfiles ] && \ /usr/bin/systemd-tmpfiles --create %{?*} || : \ %{nil} +# This may be used by package installation scripts to create files according to +# their tmpfiles configuration from a package installation script, even before +# the files of that package are installed on disk. +# +# Example: +# Source1: %{name}-tmpfiles.conf +# ... +# %install +# install -D %SOURCE1 %{buildroot}%{_tmpfilesdir}/%{name}.conf +# %pre +# %tmpfiles_create_package %{name} %SOURCE1 +# %files +# %{_tmpfilesdir}/%{name}.conf +# +%tmpfiles_create_package() \ +if [ -z "${TRANSACTIONAL_UPDATE}" ]; then \ + /usr/bin/systemd-tmpfiles --replace=%_tmpfilesdir/%1.conf --create - <<SYSTEMD_INLINE_EOF || : \ +%(cat %2) \ +SYSTEMD_INLINE_EOF\ +%fi \ +%{nil} + +# Deprecated. Use %sysusers_create_package instead %sysusers_create() \ +%{warn: %%sysusers_create is deprecated, use %%sysusers_create_package instead} \ [ -x /usr/bin/systemd-sysusers ] && /usr/bin/systemd-sysusers %{?*} || : \ %{nil} +# Deprecated. Use %sysusers_create_package instead %sysusers_create_inline() \ -if [ -x /usr/bin/systemd-sysusers ]; then \ - echo %{?*} | systemd-sysusers - || : \ -fi \ +%{warn: %%sysusers_create_inline is deprecated, use %%sysusers_create_package instead} \ +[ -x /usr/bin/systemd-sysusers ] && /usr/bin/systemd-sysusers - <<SYSTEMD_INLINE_EOF || : \ +%{?*} \ +SYSTEMD_INLINE_EOF\ +%{nil} + +# This should be used by package installation scripts which require users or +# groups to be present before the files installed by the package are present on +# disk (for example because some files are owned by those users or groups). +# +# Example: +# Source1: %{name}-sysusers.conf +# ... +# %install +# install -D %SOURCE1 %{buildroot}%{_sysusersdir}/%{name}.conf +# %pre +# %sysusers_create_package %{name} %SOURCE1 +# %files +# %{_sysusersdir}/%{name}.conf +# +%sysusers_create_package() \ +/usr/bin/systemd-sysusers --replace=%_sysusersdir/%1.conf - <<SYSTEMD_INLINE_EOF || : \ +%(cat %2) \ +SYSTEMD_INLINE_EOF\ %{nil} %sysctl_apply() \
participants (1)
-
Source-Sync