[libvirt] [PATCH] spec: Build vbox packages only for x86 architectures

2013-05-24 Thread Viktor Mihajlovski
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 mihaj...@linux.vnet.ibm.com
---
 libvirt.spec.in |5 +
 1 file changed, 5 insertions(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index e1c5f49..7abe9fe 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -130,6 +130,11 @@
 %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
-- 
1.7.9.5

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] [PATCH] spec: Build vbox packages only for x86 architectures

2013-05-24 Thread Eric Blake
On 05/24/2013 07:44 AM, Viktor Mihajlovski wrote:
 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 mihaj...@linux.vnet.ibm.com
 ---
  libvirt.spec.in |5 +
  1 file changed, 5 insertions(+)

ACK and pushed.

 
 diff --git a/libvirt.spec.in b/libvirt.spec.in
 index e1c5f49..7abe9fe 100644
 --- a/libvirt.spec.in
 +++ b/libvirt.spec.in
 @@ -130,6 +130,11 @@
  %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
 

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list