[libvirt] [PATCH] disable xenlight for non-Xen platforms
Eric Blake
eblake at redhat.com
Tue Oct 11 20:27:42 UTC 2011
On 10/11/2011 09:30 AM, Dan Horák wrote:
> Hi,
>
> 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
>
>> From daf8e124ca727b7f4de7f3ab5f04f5336d2c992f Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Dan=20Hor=C3=A1k?=<dan at danny.cz>
> Date: Tue, 11 Oct 2011 10:28:38 +0200
> Subject: [PATCH] xenlight available only on Xen arches (#745020)
>
> ---
> libvirt.spec | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/libvirt.spec b/libvirt.spec
> index 8ddfbde..d6afdbc 100644
> --- a/libvirt.spec
> +++ b/libvirt.spec
> @@ -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
ACK and pushed - this is the only hunk needed for libvirt.spec.in. I've
also added you to AUTHORS.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list