summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2011-07-29 13:55:57 -0400
committerJosh Boyer <jwboyer@redhat.com>2011-07-29 13:55:57 -0400
commit9e4aeabc4e4836d78c996193dfc7287d55e311c2 (patch)
tree934be5e46f452a4419b19be3f289134d433c24f5 /kernel.spec
parent37a65c786830f35e8e20ea1da20800b94359a1c0 (diff)
downloadkernel-9e4aeabc4e4836d78c996193dfc7287d55e311c2.tar.gz
kernel-9e4aeabc4e4836d78c996193dfc7287d55e311c2.tar.xz
kernel-9e4aeabc4e4836d78c996193dfc7287d55e311c2.zip
Adjust sedding for the 3.x release style now that we know it's 3.x.x and not
just 3.x
Diffstat (limited to 'kernel.spec')
-rw-r--r--kernel.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/kernel.spec b/kernel.spec
index 763d76909..43f4036c5 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -51,7 +51,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be prepended with "0.", so
# for example a 3 here will become 0.3
#
-%global baserelease 1
+%global baserelease 2
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@@ -1372,11 +1372,10 @@ BuildKernel() {
# make sure EXTRAVERSION says what we want it to say
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
- # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
- ### XXX this will probably be dead code in 3.0 --kyle
+ # if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme
%if !0%{?rcrev}
%if 0%{?gitrev}
- perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile
+ perl -p -i -e 's/^PATCHLEVEL.*/PATCHLEVEL = %{upstream_sublevel}/' Makefile
%endif
%endif
@@ -1878,6 +1877,9 @@ fi
%changelog
* Fri Jul 29 2011 Josh Boyer <jwboyer@redhat.com>
+- Adjust Makefile sedding to account for 3.x release style
+
+* Fri Jul 29 2011 Josh Boyer <jwboyer@redhat.com>
- Linux 3.0-git11
- Backport patch to correct udlfb removal events (rhbz 726163)