summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2014-01-15 11:00:40 -0500
committerJosh Boyer <jwboyer@fedoraproject.org>2014-01-15 11:01:57 -0500
commit8a6c714a8c5421fc5985f2a14bc75bee3e381624 (patch)
treed8038df16b344a6701e5a4a47e197794d838e694
parentdd47c04c17b9fee7762bc781d7964b52acfc9e15 (diff)
downloadkernel-8a6c714a8c5421fc5985f2a14bc75bee3e381624.tar.gz
kernel-8a6c714a8c5421fc5985f2a14bc75bee3e381624.tar.xz
kernel-8a6c714a8c5421fc5985f2a14bc75bee3e381624.zip
Drop stable_rc macros
We never use the stable_rc mechanism. It just adds clutter to the spec and in the rare case where we grab patches from a stable RC we've just applied them via ApplyPatch. Get rid of it.
-rw-r--r--kernel.spec18
1 files changed, 0 insertions, 18 deletions
diff --git a/kernel.spec b/kernel.spec
index 87639cc32..574ce19cb 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -47,16 +47,10 @@ Summary: The Linux kernel
# Do we have a -stable update to apply?
%define stable_update 0
-# Is it a -stable RC?
-%define stable_rc 0
# Set rpm version accordingly
%if 0%{?stable_update}
%define stablerev %{stable_update}
%define stable_base %{stable_update}
-%if 0%{?stable_rc}
-# stable RCs are incremental patches, so we need the previous stable patch
-%define stable_base %(echo $((%{stable_update} - 1)))
-%endif
%endif
%define rpmversion 3.%{base_sublevel}.%{stable_update}
@@ -136,12 +130,7 @@ Summary: The Linux kernel
# pkg_release is what we'll fill in for the rpm Release: field
%if 0%{?released_kernel}
-%if 0%{?stable_rc}
-%define stable_rctag .rc%{stable_rc}
-%define pkg_release 0%{stable_rctag}.%{fedora_build}%{?buildid}%{?dist}
-%else
%define pkg_release %{fedora_build}%{?buildid}%{?dist}
-%endif
%else
@@ -512,10 +501,6 @@ Source2001: cpupower.config
%define stable_patch_00 patch-3.%{base_sublevel}.%{stable_base}.xz
Patch00: %{stable_patch_00}
%endif
-%if 0%{?stable_rc}
-%define stable_patch_01 patch-3.%{base_sublevel}.%{stable_update}-rc%{stable_rc}.xz
-Patch01: %{stable_patch_01}
-%endif
# non-released_kernel case
# These are automagically defined by the rcrev and gitrev values set up
@@ -1143,9 +1128,6 @@ cd linux-%{KVERREL}
%if 0%{?stable_base}
ApplyPatch %{stable_patch_00}
%endif
-%if 0%{?stable_rc}
-ApplyPatch %{stable_patch_01}
-%endif
# Drop some necessary files from the source dir into the buildroot
cp $RPM_SOURCE_DIR/config-* .