[libvirt] [PATCH] Disable libxl build in RPM on Fedora < 16

Daniel P. Berrange berrange at redhat.com
Fri Mar 18 16:47:02 UTC 2011


The xen RPM in Fedora isn't new enough to support libxl builds
yet. Disable it until Fedora 16

Q: What actually is the min required Xen ? Is xen 4.0.1
in fact sufficient ? If so I'll change this to s/16/15/

* libvirt.spec.in: Disable libxl on Fedora < 16
---
 libvirt.spec.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 988ea4e..4a62c80 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}
-- 
1.7.4




More information about the libvir-list mailing list