- 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.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1438
This commit is contained in:
Franck Bui 2023-09-14 06:36:30 +00:00 committed by Git OBS Bridge
parent e54cd54d73
commit d9c717c4a9
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 14 06:33:05 UTC 2023 - Franck Bui <fbui@suse.com>
- 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 <fbui@suse.com>

View File

@ -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