]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: explicitly avoid bhyve on Linux
authorEric Blake <eblake@redhat.com>
Tue, 25 Feb 2014 16:51:40 +0000 (09:51 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 26 Feb 2014 13:00:56 +0000 (06:00 -0700)
Generally, we try to make the spec file tweakable via user
variables, so that they can select a different subset of sub-rpms
to build.  We also try to explicitly list all driver config
options, rather than leaving the chance that the rpm build may be
non-deterministic based on what the user had installed locally.
But in the case of the recent bhyve hypervisor driver, there is
no port of bhyve to Linux, so it is easier to just blindly
disable it for now.  If someone ever does try to port bhyve to
Fedora, we can make the spec file conditional at that point.

* libvirt.spec.in (%configure): Don't try to build bhyve.

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

index fae4bb71d3ca507e525384e7c05c018656bfa04c..c25b8ca6c048a11eb21469d5de75f46de348151b 100644 (file)
@@ -79,6 +79,7 @@
 %define with_hyperv        0%{!?_without_hyperv:1}
 %define with_xenapi        0%{!?_without_xenapi:1}
 %define with_parallels     0%{!?_without_parallels: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}}
@@ -1428,6 +1429,7 @@ driver
            %{?_without_hyperv} \
            %{?_without_vmware} \
            %{?_without_parallels} \
+           --without-bhyve \
            %{?_without_interface} \
            %{?_without_network} \
            %{?_with_rhel5_api} \