SPECS (LINUX_2_6): kernel.spec - use underscore in kernel release for KABI ...

glen glen at pld-linux.org
Thu Jul 3 11:17:20 CEST 2008


Author: glen                         Date: Thu Jul  3 09:17:20 2008 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- use underscore in kernel release for KABI to be a lit less misleading

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1933 -> 1.441.2.1934) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1933 SPECS/kernel.spec:1.441.2.1934
--- SPECS/kernel.spec:1.441.2.1933	Thu Jul  3 10:53:23 2008
+++ SPECS/kernel.spec	Thu Jul  3 11:17:13 2008
@@ -123,9 +123,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 %{KABI}
-%define		kernel_release %{version}%{?_alt_kernel:%{_alt_kernel}}-%{_localversion}
+%define		kernel_release %{version}%{?_alt_kernel:%{_alt_kernel}}_%{KABI}
 
 # Our Kernel ABI, increase this when you want the out of source modules being rebuilt
 # Usually same as %{_rel}. Never decrement this (policy).
@@ -1293,7 +1291,7 @@
 }
 
 KERNEL_BUILD_DIR=`pwd`
-echo "-%{_localversion}" > localversion
+echo "_%{KABI}" > localversion
 
 KERNEL_INSTALL_DIR="$KERNEL_BUILD_DIR/build-done/kernel"
 rm -rf $KERNEL_INSTALL_DIR
@@ -1712,6 +1710,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1934  2008/07/03 09:17:13  glen
+- use underscore in kernel release for KABI to be a lit less misleading
+
 Revision 1.441.2.1933  2008/07/03 08:53:23  arekm
 - up to 2.6.25.10
 
================================================================

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



More information about the pld-cvs-commit mailing list