From: Scott Weaver <scweaver@xxxxxxxxxx> redhat/kernel.spec: drop bindgen build requirement for ELN CentOS Stream 10 and RHEL 10 do not maintain a bindgen package, and it is not currently required to build ELN. Therefore, remove it so that we can build kernel-ark in brew. Signed-off-by: Scott Weaver <scweaver@xxxxxxxxxx> diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -706,7 +706,12 @@ BuildRequires: bzip2, xz, findutils, m4, perl-interpreter, perl-Carp, perl-devel BuildRequires: zstd %endif BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex, gcc-c++ +%if 0%{?fedora} BuildRequires: rust, rust-src, bindgen, rustfmt, clippy +%else +# CS/RHEL does not maintain a bindgen package +BuildRequires: rust, rust-src, rustfmt, clippy +%endif BuildRequires: net-tools, hostname, bc, elfutils-devel BuildRequires: dwarves BuildRequires: python3 -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3843 -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue