[kernel] update to 3.0-rc4-git3

Kyle McMartin kyle at fedoraproject.org
Thu Jun 23 19:28:10 UTC 2011


commit 472d463edc710bf8ab662030e3b36b9927f69089
Author: Kyle McMartin <kyle at redhat.com>
Date:   Thu Jun 23 15:18:30 2011 -0400

    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

 kernel.spec                     |   14 +++++++++-----
 linux-2.6-silence-noise.patch   |    2 +-
 linux-3.0-fix-uts-release.patch |   12 ------------
 sources                         |    1 +
 4 files changed, 11 insertions(+), 18 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index e8f0bbd..f600826 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 at 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 at 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.
diff --git a/linux-2.6-silence-noise.patch b/linux-2.6-silence-noise.patch
index 6d25a8f..8aba3cd 100644
--- a/linux-2.6-silence-noise.patch
+++ b/linux-2.6-silence-noise.patch
@@ -69,5 +69,5 @@ index 2a52270..bacbdd2 100644
 -	pr_debug("PM: Adding info for %s:%s\n",
 -		 dev->bus ? dev->bus->name : "No Bus", dev_name(dev));
  	mutex_lock(&dpm_list_mtx);
- 	if (dev->parent && dev->parent->power.in_suspend)
+ 	if (dev->parent && dev->parent->power.is_prepared)
  		dev_warn(dev, "parent %s should not be sleeping\n",
diff --git a/sources b/sources
index 087f3c6..4d20545 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 3c872d52ae780852b474c26988343380  linux-3.0-rc4.tar.bz2
+81f227f72c7b4ee82da42811b5c5018e  patch-3.0-rc4-git3.bz2


More information about the scm-commits mailing list