summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorKyle McMartin <kyle@redhat.com>2011-06-23 15:18:30 -0400
committerKyle McMartin <kyle@redhat.com>2011-06-23 15:27:07 -0400
commit472d463edc710bf8ab662030e3b36b9927f69089 (patch)
treee4da1fa6792223ca36b4736260dfc4c7eb42086e /kernel.spec
parent761d1c022e64df676070ef1f1ebf673aca9ee231 (diff)
downloadkernel-472d463edc710bf8ab662030e3b36b9927f69089.tar.gz
kernel-472d463edc710bf8ab662030e3b36b9927f69089.tar.xz
kernel-472d463edc710bf8ab662030e3b36b9927f69089.zip
update to 3.0-rc4-git3
drop linux-3.0-fix-uts-release.patch and just perl the Makefile instead linux-2.6-silence-noise.patch: fix context
Diffstat (limited to 'kernel.spec')
-rw-r--r--kernel.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/kernel.spec b/kernel.spec
index e8f0bbd93..f60082659 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 2
+%global baserelease 1
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@@ -85,7 +85,7 @@ Summary: The Linux kernel
# The rc snapshot level
%define rcrev 4
# The git snapshot level
-%define gitrev 0
+%define gitrev 3
# Set rpm version accordingly
%define rpmversion 3.%{upstream_sublevel}
%endif
@@ -602,8 +602,6 @@ Patch00: patch-3.%{base_sublevel}-git%{gitrev}.bz2
Patch02: git-linus.diff
-Patch03: linux-3.0-fix-uts-release.patch
-
# we also need compile fixes for -vanilla
Patch04: linux-2.6-compile-fixes.patch
@@ -1119,7 +1117,6 @@ done
ApplyOptionalPatch git-linus.diff
-ApplyPatch linux-3.0-fix-uts-release.patch
ApplyPatch linux-2.6-makefile-after_link.patch
#
@@ -1372,8 +1369,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
+ perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = /' 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 !0%{?rcrev}
%if 0%{?gitrev}
perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = %{upstream_sublevel}/' Makefile
@@ -1877,6 +1876,11 @@ fi
# and build.
%changelog
+* Thu Jun 23 2011 Kyle McMartin <kmcmartin@redhat.com> 3.0-0.rc4.git3.1
+- Linux 3.0-rc4-git3
+- Drop linux-3.0-fix-uts-release.patch, and instead just perl the Makefile
+- linux-2.6-silence-noise.patch: fix context
+
* Wed Jun 22 2011 Kyle McMartin <kmcmartin@redhat.com> 3.0-0.rc4.git0.2
- Re-enable debuginfo generation. Thanks to Richard Jones for noticing... no
wonder builds had been so quick lately.