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

View File

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