]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Build vbox packages only for x86 architectures
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Fri, 24 May 2013 13:44:19 +0000 (15:44 +0200)
committerEric Blake <eblake@redhat.com>
Fri, 24 May 2013 16:11:00 +0000 (10:11 -0600)
Commit 6ab6bc19f03513fd87d29ecfd405bb7f4a7de114 has introduced separate
daemon/driver packages for vbox. These should only be built for x86
architectures which is done hereby.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
libvirt.spec.in

index e1c5f49208f2b279ba6b90b5e566d243065df4ff..7abe9fe97b898bfdaf80e2a4787cffb9839883cf 100644 (file)
     %define with_libxl 0
 %endif
 
+# vbox is available only on i386 x86_64
+%ifnarch %{ix86} x86_64
+    %define with_vbox 0
+%endif
+
 # Numactl is not available on s390[x] and ARM
 %ifarch s390 s390x %{arm}
     %define with_numactl 0