This commit is contained in:
parent
20816f6551
commit
7d708d2525
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
%global prev_rust 1.19.0
|
%global prev_rust 1.19.0
|
||||||
%global cargo_version 0.21.0
|
%global cargo_version 0.21.0
|
||||||
|
%bcond_without rust_bootstrap
|
||||||
|
|
||||||
%global rust_arch %{_arch}
|
%global rust_arch %{_arch}
|
||||||
%global abi gnu
|
%global abi gnu
|
||||||
@ -32,12 +33,16 @@
|
|||||||
%ifarch ppc64le
|
%ifarch ppc64le
|
||||||
%global rust_arch powerpc64le
|
%global rust_arch powerpc64le
|
||||||
%endif
|
%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 rust_triple %{rust_arch}-unknown-linux-%{abi}
|
||||||
|
|
||||||
%global dl_url https://static.rust-lang.org/dist
|
%global dl_url https://static.rust-lang.org/dist
|
||||||
%global common_libdir %{_prefix}/lib
|
%global common_libdir %{_prefix}/lib
|
||||||
%global rustlibdir %{common_libdir}/rustlib
|
%global rustlibdir %{common_libdir}/rustlib
|
||||||
%bcond_without rust_bootstrap
|
|
||||||
Name: rust
|
Name: rust
|
||||||
Version: 1.20.0
|
Version: 1.20.0
|
||||||
Release: 0
|
Release: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user