[qemu/f18] fix previous commit

bonzini bonzini at fedoraproject.org
Fri Oct 19 09:48:31 UTC 2012


commit a8e3fc5c283bc76cbe7a8f5b6fb220b400ed7a7c
Author: Paolo Bonzini <pbonzini at redhat.com>
Date:   Fri Oct 19 11:43:45 2012 +0200

    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).

 qemu.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
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 <pbonzini at redhat.com> - 2:1.2.0-16
+- fix previous commit
+
 * 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)
 


More information about the scm-commits mailing list