[qemu] Fix Fedora build arch list
Eduardo Habkost
ehabkost at fedoraproject.org
Thu Mar 29 15:42:34 UTC 2012
commit 49427c534504be957c90f708b9677ef3a2f2eb9f
Author: Eduardo Habkost <ehabkost at raisama.net>
Date: Thu Mar 29 12:30:04 2012 -0300
Fix Fedora build arch list
Oops, I set exclusive_x86_64 by default. It was supposed to be
_disabled_ by default.
Also, define the --with x86only option, disabling it by default.
Signed-off-by: Eduardo Habkost <ehabkost at raisama.net>
qemu.spec | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index 07a04dd..c28a26b 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -20,17 +20,18 @@
#
# Enabled by default, except on RHEL.
-
%if 0%{?rhel}
# RHEL-specific defaults:
-%bcond_without exclusive_x86_64
-%bcond_with rbd
-%bcond_with fdt
+%bcond_with x86only # disabled
+%bcond_without exclusive_x86_64 # enabled
+%bcond_with rbd # disabled
+%bcond_with fdt # disabled
%else
# General defaults:
-%bcond_without exclusive_x86_64
-%bcond_without rbd
-%bcond_without fdt
+%bcond_with x86only # disabled
+%bcond_with exclusive_x86_64 # disabled
+%bcond_without rbd # enabled
+%bcond_without fdt # enabled
%endif
More information about the scm-commits
mailing list