[PATCH 01/27] libvirt.spec.in: explicitly disable xenapi & vz drivers

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

 



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@xxxxxxxxxx>
---
 libvirt.spec.in | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index a24be32..d907d8f 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -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} \
-- 
2.5.5

--
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]