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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]