From: Dan Horák Date: Tue, 11 Oct 2011 15:30:50 +0000 (+0200) Subject: disable xenlight for non-Xen platforms X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=099dc93b7c39dd84fe2ae573f3cb782dd0051028;p=libvirt.git 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 --- diff --git a/AUTHORS b/AUTHORS index 894a788e94..fd4314f866 100644 --- a/AUTHORS +++ b/AUTHORS @@ -196,6 +196,7 @@ Patches have also been contributed by: Lei Li Matthias Witte Tang Chen + Dan Horák [....send patches to get your name here....] diff --git a/libvirt.spec.in b/libvirt.spec.in index 9f5797adae..1e764524f4 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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]