From 2d62c78c648fc318945421f77f9f1ad764b0ff9da65095d586523227e11d1fcc Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Thu, 7 Mar 2019 00:04:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=200 --- rust.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/rust.spec b/rust.spec index e6448ad..7021602 100644 --- a/rust.spec +++ b/rust.spec @@ -309,34 +309,34 @@ This package includes HTML documentation for Cargo. %prep %if %{with rust_bootstrap} %ifarch x86_64 -%setup -q -T -b 100 -n rust-%{prev_rust}-%{rust_triple} +%setup -q -T -b 100 -n rust-%{version_bootstrap}-%{rust_triple} %endif %ifarch %{ix86} -%setup -q -T -b 101 -n rust-%{prev_rust}-i686-unknown-linux-%{abi} +%setup -q -T -b 101 -n rust-%{version_bootstrap}-i686-unknown-linux-%{abi} %endif %ifarch aarch64 -%setup -q -T -b 102 -n rust-%{prev_rust}-%{rust_triple} +%setup -q -T -b 102 -n rust-%{version_bootstrap}-%{rust_triple} %endif %ifarch armv7hl -%setup -q -T -b 103 -n rust-%{prev_rust}-%{rust_triple} +%setup -q -T -b 103 -n rust-%{version_bootstrap}-%{rust_triple} %endif %ifarch armv6hl -%setup -q -T -b 104 -n rust-%{prev_rust}-%{rust_triple} +%setup -q -T -b 104 -n rust-%{version_bootstrap}-%{rust_triple} %endif %ifarch ppc64 -%setup -q -T -b 105 -n rust-%{prev_rust}-%{rust_triple} +%setup -q -T -b 105 -n rust-%{version_bootstrap}-%{rust_triple} %endif %ifarch ppc64le -%setup -q -T -b 106 -n rust-%{prev_rust}-%{rust_triple} +%setup -q -T -b 106 -n rust-%{version_bootstrap}-%{rust_triple} %endif %ifarch s390x -%setup -q -T -b 107 -n rust-%{prev_rust}-%{rust_triple} +%setup -q -T -b 107 -n rust-%{version_bootstrap}-%{rust_triple} %endif ./install.sh --components=cargo,rustc,rust-std-%{rust_triple} --prefix=.%{_prefix} --disable-ldconfig %endif %if %{with rust_bootstrap} - %global rust_root %{_builddir}/rust-%{prev_rust}-%{rust_triple}%{_prefix} + %global rust_root %{_builddir}/rust-%{version_bootstrap}-%{rust_triple}%{_prefix} %else %global rust_root %{_prefix} %endif