SPECS: kernel-desktop.spec - up to 2.6.17.1, using patch, there is...

sparky sparky at pld-linux.org
Wed Jun 21 16:19:06 CEST 2006


Author: sparky                       Date: Wed Jun 21 14:19:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.6.17.1, using patch, there is only 1 line changged !

---- Files affected:
SPECS:
   kernel-desktop.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/kernel-desktop.spec
diff -u SPECS/kernel-desktop.spec:1.24 SPECS/kernel-desktop.spec:1.25
--- SPECS/kernel-desktop.spec:1.24	Wed Jun 21 16:05:31 2006
+++ SPECS/kernel-desktop.spec	Wed Jun 21 16:19:00 2006
@@ -73,20 +73,25 @@
 Summary(fr):	Le Kernel-Linux (La partie centrale du systeme)
 Summary(pl):	Jądro Linuksa
 Name:		kernel-%{_alt_kernel}
-#define		_postver	.18
-%define		_postver	%{nil}
-Version:	2.6.17%{_postver}
+%define		_basever	2.6.17
+%define		_postver	.1
+#define		_postver	%{nil}
+Version:	%{_basever}%{_postver}
 Release:	%{_rel}
 Epoch:		0
 License:	GPL v2
 Group:		Base/Kernel
 %define		_rc	%{nil}
 #define		_rc	-rc6
-#Source0:	ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-%{version}%{_rc}.tar.bz2
-Source0:	http://www.kernel.org/pub/linux/kernel/v2.6/linux-%{version}.tar.bz2
+#Source0:	ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-%{_basever}%{_rc}.tar.bz2
+Source0:	http://www.kernel.org/pub/linux/kernel/v2.6/linux-%{_basever}.tar.bz2
 # Source0-md5:	37ddefe96625502161f075b9d907f21e
-Source1:	kernel-desktop-autoconf.h
-Source2:	kernel-desktop-config.h
+%if "%{_postver}" != "%{nil}"
+Source1:	http://www.kernel.org/pub/linux/kernel/v2.6/patch-%{version}.bz2
+# Source1-md5:	f7197c29beb5bd28b6f566b58260ece8
+%endif
+Source3:	kernel-desktop-autoconf.h
+Source4:	kernel-desktop-config.h
 Source5:	kernel-desktop-module-build.pl
 
 Source20:	kernel-desktop-common.config
@@ -622,7 +627,11 @@
 Documentation.
 
 %prep
-%setup -q -n linux-%{version}%{_rc} 
+%setup -q -n linux-%{_basever}%{_rc} 
+
+%if "%{_postver}" != "%{nil}"
+bzcat %{SOURCE1} | patch -p1
+%endif
 
 %if !%{with test_build}
 %patch0 -p1
@@ -951,8 +960,8 @@
 
 %{__make} $CrossOpts mrproper
 %{__make} $CrossOpts include/linux/version.h
-install %{SOURCE1} $RPM_BUILD_ROOT%{_prefix}/src/linux-%{ver}/include/linux/autoconf.h
-install %{SOURCE2} $RPM_BUILD_ROOT%{_prefix}/src/linux-%{ver}/include/linux/config.h
+install %{SOURCE3} $RPM_BUILD_ROOT%{_prefix}/src/linux-%{ver}/include/linux/autoconf.h
+install %{SOURCE4} $RPM_BUILD_ROOT%{_prefix}/src/linux-%{ver}/include/linux/config.h
 
 # collect module-build files and directories
 perl %{SOURCE5} %{_prefix}/src/linux-%{ver} $KERNEL_BUILD_DIR
@@ -1366,6 +1375,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2006/06/21 14:19:00  sparky
+- up to 2.6.17.1, using patch, there is only 1 line changged !
+
 Revision 1.24  2006/06/21 14:05:31  sparky
 - added fcache patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-desktop.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list