rpms/kernel/devel kernel-2.6.spec,1.3299,1.3300
Jarod Wilson (jwilson)
fedora-extras-commits at redhat.com
Thu Jul 12 18:28:42 UTC 2007
Author: jwilson
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16776
Modified Files:
kernel-2.6.spec
Log Message:
Fix up SUBLEVEL for pre-rc1 case, so uname matches
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3299
retrieving revision 1.3300
diff -u -r1.3299 -r1.3300
--- kernel-2.6.spec 12 Jul 2007 16:47:05 -0000 1.3299
+++ kernel-2.6.spec 12 Jul 2007 18:28:09 -0000 1.3300
@@ -1317,6 +1317,13 @@
# make sure EXTRAVERSION says what we want it to say
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}$Flavour/" Makefile
+ # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
+ %if !0%{?rcrev}
+ %if 0%{?gitrev}
+ perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile
+ %endif
+ %endif
+
# and now to start the build process
make -s mrproper
More information about the scm-commits
mailing list