From: Prarit Bhargava <prarit(a)redhat.com>
redhat/kernel.spec.template: enable dependencies generation
Updated kernel-rpm-macros-185-9 package brings various generators
for Provides tags that usually present in RHEL kernel packages,
including kernel(), which OOT kmod packages rely on.
prarit: After discussion with jforbes, it was found that kernel-rpm-macros
has a different version number in Fedora vs RHEL. Additionally,
kernel-rpm-macros is brought in through some other build dependency in
ARK/Fedora so the requirement here may be superfluous. As a result, I am
only mentioning the build requirement of the package in this commit and
not the version.
Signed-off-by: Eugene Syromiatnikov <esyr(a)redhat.com>
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100755
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -582,6 +582,7 @@ BuildRequires: net-tools, hostname, bc, elfutils-devel
BuildRequires: dwarves
BuildRequires: python3-devel
BuildRequires: gcc-plugin-devel
+BuildRequires: kernel-rpm-macros
# glibc-static is required for a consistent build environment (specifically
# CONFIG_CC_CAN_LINK_STATIC=y).
BuildRequires: glibc-static
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2021