disable xenlight for non-Xen platforms

when building libvirt in Fedora/s390x I've found that xenlight needs to
be explicitly disabled in the spec file. Configure properly sets the
library as non-existent, but the %files section still wants to package
the 3 /var/*/libvirt/libxl directories. See also
https://bugzilla.redhat.com/show_bug.cgi?id=745020
This commit is contained in:
Dan Horák
2011-10-11 17:30:50 +02:00
committed by Eric Blake
parent b794d2a572
commit 099dc93b7c
2 changed files with 2 additions and 0 deletions

View File

@@ -196,6 +196,7 @@ Patches have also been contributed by:
Lei Li <lilei@linux.vnet.ibm.com> Lei Li <lilei@linux.vnet.ibm.com>
Matthias Witte <witte@netzquadrat.de> Matthias Witte <witte@netzquadrat.de>
Tang Chen <tangchen@cn.fujitsu.com> Tang Chen <tangchen@cn.fujitsu.com>
Dan Horák <dan@danny.cz>
[....send patches to get your name here....] [....send patches to get your name here....]

View File

@@ -89,6 +89,7 @@
# Xen is available only on i386 x86_64 ia64 # Xen is available only on i386 x86_64 ia64
%ifnarch i386 i586 i686 x86_64 ia64 %ifnarch i386 i586 i686 x86_64 ia64
%define with_xen 0 %define with_xen 0
%define with_libxl 0
%endif %endif
# Numactl is not available on s390[x] # Numactl is not available on s390[x]