Build with xen only on Fedora

This commit is contained in:
Yaakov Selkowitz 2023-02-01 20:14:52 -05:00
parent 189f5d16f4
commit 3c935dd203
1 changed files with 2 additions and 0 deletions

View File

@ -177,10 +177,12 @@ BuildRequires: bpftool
%global have_bpf 1
%endif
%if 0%{?fedora}
%ifarch x86_64 aarch64
# That package is only built for those two architectures
BuildRequires: xen-devel
%endif
%endif
Requires(post): coreutils
Requires(post): grep