packages: kernel-xen0/kernel-xen0.spec - dropped %{postver} stuff. It is ba...

pawelz pawelz at pld-linux.org
Tue Feb 16 17:32:16 CET 2010


Author: pawelz                       Date: Tue Feb 16 16:32:16 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- dropped %{postver} stuff. It is based on git repo, not official kernel releases.

---- Files affected:
packages/kernel-xen0:
   kernel-xen0.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/kernel-xen0/kernel-xen0.spec
diff -u packages/kernel-xen0/kernel-xen0.spec:1.6 packages/kernel-xen0/kernel-xen0.spec:1.7
--- packages/kernel-xen0/kernel-xen0.spec:1.6	Tue Feb 16 17:20:31 2010
+++ packages/kernel-xen0/kernel-xen0.spec	Tue Feb 16 17:32:10 2010
@@ -39,7 +39,6 @@
 %define		_kernelsrcdir	/usr/src/linux-%{version}_%{alt_kernel}
 
 %define		basever	2.6.30
-%define		postver	%{nil}
 %define		rel		0.1
 
 Summary:	The Linux kernel (the core of the Linux operating system)
@@ -48,19 +47,14 @@
 Summary(fr.UTF-8):	Le Kernel-Linux (La partie centrale du systeme)
 Summary(pl.UTF-8):	Jądro Linuksa
 Name:		kernel-%{alt_kernel}
-Version:	%{basever}%{postver}
+Version:	%{basever}
 Release:	%{rel}
 Epoch:		3
 License:	GPL v2
 Group:		Base/Kernel
-
 # git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen/dom0/core
 Source0:	http://xatka.net/~z/PLD/%{name}-%{basever}.tar.bz2
 # Source0-md5:	eb8fc0005bf72707ddb83d113c372a8c
-%if "%{postver}" != "%{nil}"
-Source1:	http://www.kernel.org/pub/linux/kernel/v2.6/patch-%{version}.bz2
-# Source1-md5:	6cac5e59d5562b591cdda485941204d5
-%endif
 Source2:	kernel-xen0-module-build.pl
 Source3:	kernel-config.py
 Source4:	kernel-config-update.py
@@ -391,12 +385,9 @@
 ln -s %{SOURCE5} Makefile
 
 cd linux-%{basever}
-%if "%{postver}" != "%{nil}"
-%{__bzip2} -dc %{SOURCE1} | %{__patch} -p1 -s
-%endif
 
 # Fix EXTRAVERSION in main Makefile
-sed -i 's#EXTRAVERSION =.*#EXTRAVERSION = %{postver}_%{alt_kernel}#g' Makefile
+sed -i 's#EXTRAVERSION =.*#EXTRAVERSION = _%{alt_kernel}#g' Makefile
 
 # cleanup backups after patching
 find '(' -name '*~' -o -name '*.orig' -o -name '.gitignore' ')' -print0 | xargs -0 -r -l512 rm -f
@@ -942,6 +933,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/02/16 16:32:10  pawelz
+- dropped %{postver} stuff. It is based on git repo, not official kernel releases.
+
 Revision 1.6  2010/02/16 16:20:31  pawelz
 - dropped all non-x86 stuff.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel-xen0/kernel-xen0.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list