]> xenbits.xensource.com Git - libvirt.git/commitdiff
disable xenlight for non-Xen platforms
authorDan Horák <dan@danny.cz>
Tue, 11 Oct 2011 15:30:50 +0000 (17:30 +0200)
committerEric Blake <eblake@redhat.com>
Tue, 11 Oct 2011 20:24:18 +0000 (14:24 -0600)
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

AUTHORS
libvirt.spec.in

diff --git a/AUTHORS b/AUTHORS
index 894a788e94da900f10556b13904fd2dc3e6c93db..fd4314f8661e368d5e3409a98a38e0481f18a8cd 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -196,6 +196,7 @@ Patches have also been contributed by:
   Lei Li               <lilei@linux.vnet.ibm.com>
   Matthias Witte       <witte@netzquadrat.de>
   Tang Chen            <tangchen@cn.fujitsu.com>
+  Dan Horák            <dan@danny.cz>
 
   [....send patches to get your name here....]
 
index 9f5797adae74da8554cd345bfe0f11b6dc8f29fc..1e764524f427324cf42ce299d74b28f00a75752e 100644 (file)
@@ -89,6 +89,7 @@
 # Xen is available only on i386 x86_64 ia64
 %ifnarch i386 i586 i686 x86_64 ia64
 %define with_xen 0
+%define with_libxl 0
 %endif
 
 # Numactl is not available on s390[x]