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
This commit is contained in:
Daniel P. Berrange 2011-03-18 16:45:18 +00:00
parent c33ac2e3b9
commit 3c204d7d5b

View File

@ -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}