SPECS (AC-branch): qemu.spec - create and rename files in %prep

glen glen at pld-linux.org
Wed Mar 7 17:37:44 CET 2007


Author: glen                         Date: Wed Mar  7 16:37:44 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- create and rename files in %prep

---- Files affected:
SPECS:
   qemu.spec (1.71 -> 1.71.2.1) 

---- Diffs:

================================================================
Index: SPECS/qemu.spec
diff -u SPECS/qemu.spec:1.71 SPECS/qemu.spec:1.71.2.1
--- SPECS/qemu.spec:1.71	Thu Dec 21 20:30:09 2006
+++ SPECS/qemu.spec	Wed Mar  7 17:37:39 2007
@@ -171,15 +171,13 @@
 cat <<'EOF' > udev.conf
 KERNEL=="kqemu", NAME="%k", MODE="0666"
 EOF
-%endif
 
-%build
-%if %{with kernel}
 cd kqemu-%{_kqemu_version}
 
 mv -f kqemu-mod-i386.o{,.bin}
 mv -f kqemu-mod-x86_64.o{,.bin}
 mv -f kqemu-linux.c{,.orig}
+
 cat > Makefile <<'EOF'
 obj-m := kqemu.o
 kqemu-objs:= kqemu-linux.o kqemu-mod.o
@@ -187,6 +185,11 @@
 $(obj)/kqemu-mod.o: $(src)/kqemu-mod-$(ARCH).o.bin
 	cp $< $@
 EOF
+%endif
+
+%build
+%if %{with kernel}
+cd kqemu-%{_kqemu_version}
 
 %build_kernel_modules -m kqemu <<'EOF'
 if grep -q "CONFIG_PREEMPT_RT" o/.config; then
@@ -307,6 +310,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71.2.1  2007/03/07 16:37:39  glen
+- create and rename files in %prep
+
 Revision 1.71  2006/12/21 19:30:09  glen
 - rel 1
 
================================================================

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



More information about the pld-cvs-commit mailing list