From a8e3fc5c283bc76cbe7a8f5b6fb220b400ed7a7c Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Oct 19 2012 09:45:55 +0000 Subject: fix previous commit When doing a kvmonly build, "make install" failed to find files that were deleted by the "make clean". Only do "make clean" in non-kvmonly builds that do need a qemu-kvm binary (which basically means Fedora x86). --- diff --git a/qemu.spec b/qemu.spec index 66e2b14..fb1ef4e 100644 --- a/qemu.spec +++ b/qemu.spec @@ -802,10 +802,13 @@ dobuild --target-list=%{kvm_target}-softmmu cp -a %{kvm_target}-softmmu/qemu-system-%{kvm_target} qemu-kvm -make clean %endif %if %{without kvmonly} +%if 0%{?need_qemu_kvm} +make clean +%endif + # Build qemu-system-* with consistent default of kvm=off dobuild --target-list="$buildarch" --disable-kvm-options %endif @@ -1225,6 +1228,9 @@ fi %{_mandir}/man1/qemu-img.1* %changelog +* Fri Oct 19 2012 Paolo Bonzini - 2:1.2.0-16 +- fix previous commit + * Thu Oct 18 2012 Dan HorĂ¡k - 2:1.2.0-15 - fix build on non-kvm arches like s390(x)