]> xenbits.xensource.com Git - libvirt.git/commitdiff
Disable libxl build in RPM on Fedora < 16
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 18 Mar 2011 16:45:18 +0000 (16:45 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 22 Mar 2011 14:25:51 +0000 (14:25 +0000)
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

libvirt.spec.in

index 988ea4e1d3c9b312afe54b30fffb2b67170b4622..4a62c8080aa4014cc1f45c749b3c47a2c19ff752 100644 (file)
 %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}