From: Daniel P. Berrange Date: Fri, 18 Mar 2011 16:45:18 +0000 (+0000) Subject: Disable libxl build in RPM on Fedora < 16 X-Git-Tag: CVE-2011-1486~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c204d7d5bf8173607db9a198de036f31d4a9564;p=thirdparty%2Flibvirt.git Disable libxl build in RPM on Fedora < 16 The xen RPM in Fedora isn't new enough to support libxl builds yet. Disable it until Fedora 16 * libvirt.spec.in: Disable libxl on Fedora < 16 --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 988ea4e1d3..4a62c8080a 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -133,6 +133,11 @@ %endif %endif +# Fedora doesn't have new enough Xen for libxl until F16 +%if 0%{?fedora} < 16 +%define with_libxl 0 +%endif + # PolicyKit was introduced in Fedora 8 / RHEL-6 or newer %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6 %define with_polkit 0%{!?_without_polkit:1}