diff --git a/systemd.changes b/systemd.changes index d156a94e..1375f760 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 14 06:33:05 UTC 2023 - Franck Bui + +- systemd.spec: %regenerate_initrd_post is only used by udev sub-package hence + move the build requirement pulling this macro in in the list of udev BRs. + ------------------------------------------------------------------- Tue Sep 12 19:24:02 UTC 2023 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 78677eb4..31a46215 100644 --- a/systemd.spec +++ b/systemd.spec @@ -108,9 +108,6 @@ BuildRequires: libmount-devel >= 2.27.1 BuildRequires: meson >= 0.53.2 BuildRequires: pam-devel BuildRequires: python3-Jinja2 -# regenerate_initrd_post macro is expanded during build, hence this BR. Also -# this macro was introduced since version 12.4. -BuildRequires: suse-module-tools >= 12.4 BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(blkid) >= 2.26 @@ -307,6 +304,8 @@ Requires(pre): group(kvm) Requires(post): sed Requires(post): coreutils Requires(postun):coreutils +# 'regenerate_initrd_post' macro is expanded during build, hence this BR. +BuildRequires: suse-module-tools %if %{without bootstrap} BuildRequires: pkgconfig(libcryptsetup) >= 1.6.0 BuildRequires: pkgconfig(libkmod) >= 15