Don't BuildRequire bpftool if we aren't building an actual kernel
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
parent
1711d9ed45
commit
9d4cb9c3e3
@ -545,7 +545,9 @@ BuildRequires: net-tools, hostname, bc, elfutils-devel
|
|||||||
BuildRequires: dwarves
|
BuildRequires: dwarves
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: gcc-plugin-devel
|
BuildRequires: gcc-plugin-devel
|
||||||
|
%ifnarch %{nobuildarches}
|
||||||
BuildRequires: bpftool
|
BuildRequires: bpftool
|
||||||
|
%endif
|
||||||
%if %{with_headers}
|
%if %{with_headers}
|
||||||
BuildRequires: rsync
|
BuildRequires: rsync
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user