From 7d708d2525096e28b76b3afac4e38c7c2b5a631f18ea4b47c696ef32dc2b852e Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Mon, 16 Oct 2017 20:40:01 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=126 --- rust.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rust.spec b/rust.spec index 18a6844..d0107d0 100644 --- a/rust.spec +++ b/rust.spec @@ -19,6 +19,7 @@ %global prev_rust 1.19.0 %global cargo_version 0.21.0 +%bcond_without rust_bootstrap %global rust_arch %{_arch} %global abi gnu @@ -32,12 +33,16 @@ %ifarch ppc64le %global rust_arch powerpc64le %endif +# Must restrict the x86 build to i686 since i586 is currently unsupported +%ifarch %ix86 +%global rust_arch i686 +%endif %global rust_triple %{rust_arch}-unknown-linux-%{abi} %global dl_url https://static.rust-lang.org/dist %global common_libdir %{_prefix}/lib %global rustlibdir %{common_libdir}/rustlib -%bcond_without rust_bootstrap + Name: rust Version: 1.20.0 Release: 0