rpms/kernel/devel kernel-2.6.spec,1.3300,1.3301

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Thu Jul 12 18:33:35 UTC 2007


Author: jwilson

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18901

Modified Files:
	kernel-2.6.spec 
Log Message:
Fix up EXTRAVERSION for 2.6.x.y case, so uname matches


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3300
retrieving revision 1.3301
diff -u -r1.3300 -r1.3301
--- kernel-2.6.spec	12 Jul 2007 18:28:09 -0000	1.3300
+++ kernel-2.6.spec	12 Jul 2007 18:33:02 -0000	1.3301
@@ -1315,7 +1315,7 @@
     echo BUILDING A KERNEL FOR $Flavour %{_target_cpu}...
 
     # make sure EXTRAVERSION says what we want it to say
-    perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}$Flavour/" Makefile
+    perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}$Flavour/" Makefile
 
     # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
     %if !0%{?rcrev}
@@ -2151,6 +2151,10 @@
 %endif
 
 %changelog
+* Thu Jul 12 2007 Jarod Wilson <jwilson at redhat.com>
+- Fix up some uname -r issues in certain kernel version
+  cases (due to new versioning scheme)
+
 * Thu Jul 12 2007 Dave Jones <davej at redhat.com>
 - 2.6.22-git2
 




More information about the scm-commits mailing list