From ccef3d28bed6d73dc0a3429af2c3b669bd6d000c Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 17 Nov 2016 23:48:29 -0800 Subject: [PATCH] simplify the bootstrap base slightly --- rust.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rust.spec b/rust.spec index 70a7730..22cc10b 100644 --- a/rust.spec +++ b/rust.spec @@ -63,9 +63,8 @@ end} for arch in string.gmatch(rpm.expand("%{bootstrap_arches}"), "%S+") do table.insert(bootstrap_arches, arch) end - local base = string.format("https://static.rust-lang.org/dist/%s/rustc-%s", - rpm.expand("%{bootstrap_date}"), - rpm.expand("%{bootstrap_channel}")) + local base = rpm.expand("https://static.rust-lang.org/dist/%{bootstrap_date}" + .."/rustc-%{bootstrap_channel}") local target_arch = rpm.expand("%{_target_cpu}") for i, arch in ipairs(bootstrap_arches) do print(string.format("Source%d: %s-%s.tar.gz\n",