Luke Jones 2017-10-16 20:40:01 +00:00 committed by Git OBS Bridge
parent 20816f6551
commit 7d708d2525

View File

@ -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