From 099dc93b7c39dd84fe2ae573f3cb782dd0051028 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Dan=20Hor=C3=A1k?= Date: Tue, 11 Oct 2011 17:30:50 +0200 Subject: [PATCH] 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 --- AUTHORS | 1 + libvirt.spec.in | 1 + 2 files changed, 2 insertions(+) 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] -- 2.47.2