]> xenbits.xensource.com Git - libvirt.git/commitdiff
libvirt.spec.in: explicitly disable xenapi & vz drivers
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 4 May 2016 14:11:01 +0000 (15:11 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 11 May 2016 15:42:37 +0000 (16:42 +0100)
The xenapi & vz drivers won't build in Fedora or RHEL
since their deps don't exist there.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
libvirt.spec.in

index a24be3284312f0153a460c0b087ed6b1b23f4fdd..d907d8fa9bafa3c0bcbe8773b266b1b3e237b92e 100644 (file)
@@ -99,9 +99,6 @@
 %define with_phyp          0%{!?_without_phyp:1}
 %define with_esx           0%{!?_without_esx:1}
 %define with_hyperv        0%{!?_without_hyperv:1}
-%define with_xenapi        0%{!?_without_xenapi:1}
-%define with_vz            0%{!?_without_vz:1}
-# No test for bhyve, because it does not build on Linux
 
 # Then the secondary host drivers, which run inside libvirtd
 %define with_interface        0%{!?_without_interface:%{server_drivers}}
@@ -1292,10 +1289,6 @@ rm -rf .git
     %define _without_vbox --without-vbox
 %endif
 
-%if ! %{with_xenapi}
-    %define _without_xenapi --without-xenapi
-%endif
-
 %if ! %{with_libxl}
     %define _without_libxl --without-libxl
 %endif
@@ -1324,10 +1317,6 @@ rm -rf .git
     %define _without_vmware --without-vmware
 %endif
 
-%if ! %{with_vz}
-    %define _without_vz --without-vz
-%endif
-
 %if ! %{with_polkit}
     %define _without_polkit --without-polkit
 %endif
@@ -1501,7 +1490,6 @@ rm -f po/stamp-po
            %{?_without_lxc} \
            %{?_without_vbox} \
            %{?_without_libxl} \
-           %{?_without_xenapi} \
            %{?_without_sasl} \
            %{?_without_avahi} \
            %{?_without_polkit} \
@@ -1511,7 +1499,8 @@ rm -f po/stamp-po
            %{?_without_esx} \
            %{?_without_hyperv} \
            %{?_without_vmware} \
-           %{?_without_vz} \
+           --without-xenapi \
+           --without-vz \
            --without-bhyve \
            %{?_without_interface} \
            %{?_without_network} \