From 84395157f901e478fd77338241fa3042bc00029b Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Thu, 9 Feb 2012 11:14:30 -0200 Subject: [PATCH] set ExclusiveArch: x86_64 to build it only on x86_64 RHEL bug: bz#786911 Signed-off-by: Eduardo Habkost --- qemu.spec | 4 ++++ 1 file changed, 4 insertions(+) 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):