From: Herton R. Krzesinski <herton@xxxxxxxxxx> rpmspec: do not BuildRequires bpftool on noarch Turns out we also need to keep bpftool BuildRequires out of noarch as well, at least on a recent centos koji build I bumped into it: BuildError: error building package (arch noarch), mock exited with status (...) Executing command: ['/usr/bin/dnf', 'builddep', '--installroot', (...) (...) DEBUG util.py:444: No matching package to install: 'bpftool' (...) DEBUG util.py:444: Not all dependencies satisfied DEBUG util.py:444: Error: Some packages could not be found. DEBUG util.py:598: Child return code was: 1 DEBUG util.py:169: kill orphans noarch doesn't build any kernel of course so just keep it out too. Signed-off-by: Herton R. Krzesinski <herton@xxxxxxxxxx> 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 @@ -556,7 +556,7 @@ BuildRequires: net-tools, hostname, bc, elfutils-devel BuildRequires: dwarves BuildRequires: python3-devel BuildRequires: gcc-plugin-devel -%ifnarch %{nobuildarches} +%ifnarch %{nobuildarches} noarch BuildRequires: bpftool %endif %if %{with_headers} -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1239 _______________________________________________ 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 on the list, report it: https://pagure.io/fedora-infrastructure