[qemu] Enable spice for i686 users as well

Justin M. Forbes jforbes at fedoraproject.org
Tue Nov 15 20:27:42 UTC 2011


commit f30960ada5b67bae7b802dcaf4dbc4ba31b18b6c
Author: Justin M. Forbes <jforbes at redhat.com>
Date:   Tue Nov 15 14:27:38 2011 -0600

    Enable spice for i686 users as well

 qemu.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index 1a334f9..fb6fae8 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -1,7 +1,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 0.15.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 # Epoch because we pushed a qemu-1.0 package
 Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
@@ -83,7 +83,7 @@ BuildRequires: ncurses-devel
 BuildRequires: libattr-devel
 BuildRequires: usbredir-devel
 BuildRequires: texinfo
-%ifarch x86_64
+%ifarch %{ix86} x86_64
 BuildRequires: spice-protocol >= 0.8.1
 BuildRequires: spice-server-devel >= 0.9.0
 %endif
@@ -357,9 +357,7 @@ sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
             --disable-strip \
             --extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
             --extra-cflags="%{optflags} -fPIE -DPIE" \
-%ifarch x86_64
             --enable-spice \
-%endif
             --enable-trace-backend=dtrace \
             --disable-werror \
             --disable-xen
@@ -389,7 +387,7 @@ make clean
     --extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
     --extra-cflags="%{optflags} -fPIE -DPIE" \
     --disable-xen \
-%ifarch x86_64
+%ifarch %{ix86} x86_64
     --enable-spice \
 %endif
     --enable-trace-backend=dtrace \
@@ -698,6 +696,9 @@ fi
 %{_mandir}/man1/qemu-img.1*
 
 %changelog
+* Tue Nov 15 2011 Justin M. Forbes <jforbes at redhat.com> - 2:0.15.1-3
+- Enable spice for i686 users as well
+
 * Thu Nov 03 2011 Justin M. Forbes <jforbes at redhat.com> - 2:0.15.1-2
 - Fix POSTIN scriplet failure (#748281)
 


More information about the scm-commits mailing list