SPECS (CRI): kernel-CRI.spec - killed localversion

hawk hawk at pld-linux.org
Fri May 9 15:02:59 CEST 2008


Author: hawk                         Date: Fri May  9 13:02:59 2008 GMT
Module: SPECS                         Tag: CRI
---- Log message:
- killed localversion

---- Files affected:
SPECS:
   kernel-CRI.spec (1.1.2.4 -> 1.1.2.5) 

---- Diffs:

================================================================
Index: SPECS/kernel-CRI.spec
diff -u SPECS/kernel-CRI.spec:1.1.2.4 SPECS/kernel-CRI.spec:1.1.2.5
--- SPECS/kernel-CRI.spec:1.1.2.4	Thu May  8 23:18:03 2008
+++ SPECS/kernel-CRI.spec	Fri May  9 15:02:53 2008
@@ -75,9 +75,7 @@
 
 # kernel release (used in filesystem and eventually in uname -r)
 # modules will be looked from /lib/modules/%{kernel_release}
-# _localversion is just that without version for "> localversion"
-%define		_localversion %{release}
-%define		kernel_release %{version}-%{alt_kernel}-%{_localversion}
+%define		kernel_release %{version}-%{alt_kernel}
 %define		_kernelsrcdir	/usr/src/linux-%{version}-%{alt_kernel}
 
 %define	CommonOpts	HOSTCC="%{__cc}" HOSTCFLAGS="-Wall -Wstrict-prototypes %{rpmcflags} -fomit-frame-pointer"
@@ -210,8 +208,7 @@
 
 	echo "" > .config
 	cat $RPM_SOURCE_DIR/kernel-CRI-$Config.config >> .config
-	sed -i "/CONFIG_LOCALVERSION=.*/d" .config
-	echo "CONFIG_LOCALVERSION=\"-%{_localversion}\"" >> .config
+	sed -i "s/CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=\"\"/g" .config
 
 	TuneUpConfigForIX86 .config
 
@@ -496,6 +493,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.1.2.5  2008-05-09 13:02:53  hawk
+- killed localversion
+
 Revision 1.1.2.4  2008-05-08 21:18:03  hawk
 - EA: i586 x86_64 (only those two are used by CRI)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel-CRI.spec?r1=1.1.2.4&r2=1.1.2.5&f=u



More information about the pld-cvs-commit mailing list