From: Prarit Bhargava <pra...@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 <e...@redhat.com>
Signed-off-by: Prarit Bhargava <pra...@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
@@ -578,6 +578,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
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to