[qemu] fix build on non-kvm arches like s390(x)

Dan Horák sharkcz at fedoraproject.org
Thu Oct 18 15:27:28 UTC 2012


commit e5989dca6737ce1d0c42d9629974d5c368dbde23
Author: Dan Horák <dan at danny.cz>
Date:   Thu Oct 18 17:27:22 2012 +0200

    fix build on non-kvm arches like s390(x)

 qemu.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index 5d742f9..66e2b14 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -98,7 +98,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 1.2.0
-Release: 14%{?dist}
+Release: 15%{?dist}
 # Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
 Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
@@ -801,10 +801,11 @@ dobuild --target-list=%{kvm_target}-softmmu
   --probe-prefix qemu.kvm < ./trace-events > qemu-kvm.stp
 
 cp -a %{kvm_target}-softmmu/qemu-system-%{kvm_target} qemu-kvm
+
+make clean
 %endif
 
 %if %{without kvmonly}
-make clean
 # Build qemu-system-* with consistent default of kvm=off
 dobuild --target-list="$buildarch" --disable-kvm-options
 %endif
@@ -1224,6 +1225,9 @@ fi
 %{_mandir}/man1/qemu-img.1*
 
 %changelog
+* Thu Oct 18 2012 Dan Horák <dan[at]danny.cz> - 2:1.2.0-15
+- fix build on non-kvm arches like s390(x)
+
 * Wed Oct 17 2012 Paolo Bonzini <pbonzini at redhat.com> - 2:1.2.0-14
 - Change SLOF Requires for the new version number
 


More information about the scm-commits mailing list