From e254e7460c9bf2f8b5d612f80681f561dc63932e Mon Sep 17 00:00:00 2001 From: Miroslav Vadkerti Date: Nov 28 2017 17:47:22 +0000 Subject: Build with xen only on Fedora Signed-off-by: Miroslav Vadkerti --- diff --git a/qemu.spec b/qemu.spec index 48c5bc3..9e9104c 100644 --- a/qemu.spec +++ b/qemu.spec @@ -48,10 +48,12 @@ %global have_rbd 0 %endif -# Xen is available only on i386 x86_64 (from libvirt spec) +# Xen is available only on i386 x86_64 (from libvirt spec) and Fedora +%if 0%{?fedora} %ifarch %{ix86} x86_64 %global have_xen 1 %endif +%endif # Matches edk2.spec ExclusiveArch %ifarch %{ix86} x86_64 %{arm} aarch64