SPECS: kernel-net-eplip.spec - added patch eplip-2.6.x2

witekfl witekfl at pld-linux.org
Wed Jan 11 14:36:08 CET 2006


Author: witekfl                      Date: Wed Jan 11 13:36:08 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added patch eplip-2.6.x2

---- Files affected:
SPECS:
   kernel-net-eplip.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/kernel-net-eplip.spec
diff -u SPECS/kernel-net-eplip.spec:1.3 SPECS/kernel-net-eplip.spec:1.4
--- SPECS/kernel-net-eplip.spec:1.3	Thu Mar  4 11:55:30 2004
+++ SPECS/kernel-net-eplip.spec	Wed Jan 11 14:36:03 2006
@@ -3,7 +3,6 @@
 # Conditional build:
 %bcond_without	dist_kernel	# without kernel from distribution
 #
-%define		no_install_post_compress_modules	1
 
 %define		_orig_name	eplip
 %define		_rel	1
@@ -19,6 +18,7 @@
 # Source0-md5:	43019250e7227857ae13bdd39a45494d
 Patch0:		eplip-2.6.x.patch
 Patch1:		kernel-eplip-WIRING.patch
+Patch2:		eplip-2.6.x2.patch
 URL:		http://e-plip.sourceforge.net/
 BuildRequires:	rpmbuild(macros) >= 1.118
 %{?with_dist_kernel:BuildRequires:	kernel-module-build}
@@ -52,6 +52,7 @@
 %setup -q -n %{_orig_name}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 cat <<EOF > Makefile
 CONFIG_X86=1
 CONFIG_ISA=1
@@ -64,28 +65,30 @@
 ln -sf %{_kernelsrcdir}/config-up .config
 rm -rf include
 install -d include/{linux,config}
-ln -sf %{_kernelsrcdir}/include/linux/autoconf.h include/linux/autoconf.h
-ln -sf %{_kernelsrcdir}/asm-%{_arch} include/asm
+ln -sf %{_kernelsrcdir}/include/linux/autoconf-up.h include/linux/autoconf.h
+ln -sf %{_kernelsrcdir}/include/asm-%{_arch} include/asm
 touch include/config/MARKER
 %{__make} -C %{_kernelsrcdir} modules \
-	SUBDIRS=$PWD \
+	M=$PWD \
 	O=$PWD \
 	V=1
 mv *.ko build-done/UP
 
-%{__make} -C %{_kernelsrcdir} mrproper \
-	SUBDIRS=$PWD \
-	O=$PWD \
-	V=1
+# it doesn't work 
+#%{__make} -C %{_kernelsrcdir} mrproper \
+#	M=$PWD \
+#	O=$PWD \
+#	V=1
+find . -name "*.o" -exec rm '{}' ';'
 
 ln -sf %{_kernelsrcdir}/config-smp .config
 rm -rf include
 install -d include/{linux,config}
-ln -sf %{_kernelsrcdir}/include/linux/autoconf.h include/linux/autoconf.h
-ln -sf %{_kernelsrcdir}/asm-%{_arch} include/asm
+ln -sf %{_kernelsrcdir}/include/linux/autoconf-smp.h include/linux/autoconf.h
+ln -sf %{_kernelsrcdir}/include/asm-%{_arch} include/asm
 touch include/config/MARKER
 %{__make} -C %{_kernelsrcdir} modules \
-	SUBDIRS=$PWD \
+	M=$PWD \
 	O=$PWD \
 	V=1
 
@@ -128,6 +131,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/01/11 13:36:03  witekfl
+- added patch eplip-2.6.x2
+
 Revision 1.3  2004/03/04 10:55:30  qboosh
 - cleanups/unifications
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-net-eplip.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list