SPECS: qemu.spec - patch from jakubowski kamil

glen glen at pld-linux.org
Tue Feb 13 21:41:59 CET 2007


Author: glen                         Date: Tue Feb 13 20:41:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- patch from jakubowski kamil

---- Files affected:
SPECS:
   qemu.spec (1.81 -> 1.82) 

---- Diffs:

================================================================
Index: SPECS/qemu.spec
diff -u SPECS/qemu.spec:1.81 SPECS/qemu.spec:1.82
--- SPECS/qemu.spec:1.81	Tue Feb 13 09:06:43 2007
+++ SPECS/qemu.spec	Tue Feb 13 21:41:54 2007
@@ -172,8 +172,17 @@
 %if %{with kernel}
 cd kqemu-%{_kqemu_version}
 
-mv -f kqemu-mod-i386.o{,.bin}
+%{__sed} -i 's#include ../config-host.mak##' ./common/Makefile
+%ifarch %{x8664}
+%{__sed} -i 's/^#ARCH=x86_64/ARCH=x86_64/' ./common/Makefile
+%{__make} -C common
 mv -f kqemu-mod-x86_64.o{,.bin}
+%else
+%{__sed} -i 's/^#ARCH=i386/ARCH=i386/' ./common/Makefile
+%{__make} -C common
+mv -f kqemu-mod-i386.o{,.bin}
+%endif
+
 mv -f kqemu-linux.c{,.orig}
 cat > Makefile <<'EOF'
 obj-m := kqemu.o
@@ -302,6 +311,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.82  2007/02/13 20:41:54  glen
+- patch from jakubowski kamil
+
 Revision 1.81  2007/02/13 08:06:43  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qemu.spec?r1=1.81&r2=1.82&f=u



More information about the pld-cvs-commit mailing list