[qemu] set ExclusiveArch: x86_64 to build it only on x86_64

Eduardo Habkost ehabkost at fedoraproject.org
Mon Mar 26 14:11:39 UTC 2012


commit 84395157f901e478fd77338241fa3042bc00029b
Author: Eduardo Habkost <ehabkost at redhat.com>
Date:   Thu Feb 9 11:14:30 2012 -0200

    set ExclusiveArch: x86_64 to build it only on x86_64
    
    RHEL bug: bz#786911
    
    Signed-off-by: Eduardo Habkost <ehabkost at redhat.com>

 qemu.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index 88b4eca..fd52e00 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -7,6 +7,10 @@ Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
 Group: Development/Tools
 URL: http://www.qemu.org/
+# RHEL will build Qemu only on x86_64:
+%if 0%{?rhel}
+ExclusiveArch: x86_64
+%endif
 
 # Allow one off builds to be minimalized without foreign
 # architecture support (--with x86only):


More information about the scm-commits mailing list