3
0

- Make sure that (futur) users of %sysctl_apply() and %binfmt_apply() will call

the macros with arguments.
- Leave %sysctl_apply() and %binfmt_apply() empty (bsc#1211272)
  Only the former has very few users currently and none of them has specific
  code relying on the new sysctl values between the macros and the file
  triggers.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=91
This commit is contained in:
Franck Bui 2023-05-10 12:40:05 +00:00 committed by Git OBS Bridge
parent 2aa56d936f
commit c32fb55b29
2 changed files with 17 additions and 5 deletions

View File

@ -205,9 +205,13 @@ fi \
# Currently the 2 following macros don't have any interesting users. Leave them
# empty until a specific need appears.
%sysctl_apply() %{nil}
%sysctl_apply() \
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# sysctl_apply}} \
%{nil}
%binfmt_apply() %{nil}
%binfmt_apply() \
%{expand:%%{?__systemd_someargs_%#:%%__systemd_someargs_%# binfmt_apply}} \
%{nil}
#
# Since we moved to file triggers the 2 following macros are deprecated. If the

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 10 12:37:05 UTC 2023 - Franck Bui <fbui@suse.com>
- Make sure that (futur) users of %sysctl_apply() and %binfmt_apply() will call
the macros with arguments.
-------------------------------------------------------------------
Wed May 10 09:14:02 UTC 2023 - Franck Bui <fbui@suse.com>
@ -5,9 +11,11 @@ Wed May 10 09:14:02 UTC 2023 - Franck Bui <fbui@suse.com>
during transactional updates. Hence the behavior is the same when operating in
a chroot or during transactional updates.
- Leave %sysctl_apply() and %binfmt_apply() empty. Only the former has very few
users currently and none of them has specific code relying on the new sysctl
values between the macros and the file triggers.
- Leave %sysctl_apply() and %binfmt_apply() empty (bsc#1211272)
Only the former has very few users currently and none of them has specific
code relying on the new sysctl values between the macros and the file
triggers.
-------------------------------------------------------------------
Tue May 9 14:09:39 UTC 2023 - Franck Bui <fbui@suse.com>