Home Home > GIT Browse > linux-next
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-08-12 23:11:50 +0200
committerMichal Suchanek <msuchanek@suse.de>2019-08-12 23:12:44 +0200
commitc4ef18dca38611dffa25c12a81bdc15167a46ea3 (patch)
tree2a8cdb43aa1abe06f10c3da21bf449d375cc4d16
parent7c057c840fe6de4e7a6445c48c92b0cf60e8a42b (diff)
rpm/mkspec: Correct tarball URL for rc kernels.
-rwxr-xr-xrpm/mkspec3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpm/mkspec b/rpm/mkspec
index 6bb7cce070..3a22c27cb7 100755
--- a/rpm/mkspec
+++ b/rpm/mkspec
@@ -85,7 +85,8 @@ my $scripts = join(",", grep { is_script($_) }
my $tarball_url;
if ($srcversion =~ /^(\d+)(?:\.\d+)*(-rc\d+)?$/) {
$tarball_url = "http://www.kernel.org/pub/linux/kernel/v$1.x/";
- $tarball_url .= "testing/" if $2;
+ $tarball_url = "" if $2; # kernel.org has no tarballs for rc kernels
+ # rc tarballs only available from git as https://git.kernel.org/torvalds/t/linux-*.gz
} else {
# kernel.org has no tarballs for linux-next or vanilla snapshots
$tarball_url = "";