]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
spec: default vbox according to libvirtd build
authorEric Blake <eblake@redhat.com>
Tue, 3 Sep 2013 23:08:25 +0000 (17:08 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 4 Sep 2013 20:55:43 +0000 (14:55 -0600)
Commit ba5f3c7 moved virtualBox support into libvirtd, but the spec
file was still unconditionally requesting it even when not building
the server side.  Thankfully there were no ill effects for a
client_only build, as most uses of %{with_vbox} were guarded by
%{with_libvirtd}; but we might as well avoid confusion by more
closely matching the makefile.

* libvirt.spec.in (with_vbox): Hoist to server conditionals.

Signed-off-by: Eric Blake <eblake@redhat.com>
libvirt.spec.in

index affd2ec113d53abd68d7be35cb0c74ce5bc3bd55..e4b832977fb7f38d013e3255d634cd38b7ebd11f 100644 (file)
@@ -50,6 +50,7 @@
 %define with_lxc           0%{!?_without_lxc:%{server_drivers}}
 %define with_uml           0%{!?_without_uml:%{server_drivers}}
 %define with_libxl         0%{!?_without_libxl:%{server_drivers}}
+%define with_vbox          0%{!?_without_vbox:%{server_drivers}}
 
 %define with_qemu_tcg      %{with_qemu}
 # Change if we ever provide qemu-kvm binaries on non-x86 hosts
@@ -71,7 +72,6 @@
 
 # Then the hypervisor drivers that run outside libvirtd, in libvirt.so
 %define with_openvz        0%{!?_without_openvz:1}
-%define with_vbox          0%{!?_without_vbox:1}
 %define with_vmware        0%{!?_without_vmware:1}
 %define with_phyp          0%{!?_without_phyp:1}
 %define with_esx           0%{!?_without_esx:1}