Luke Jones 2017-02-10 20:50:37 +00:00 committed by Git OBS Bridge
parent 4db3205f93
commit 15728433fa

View File

@ -37,7 +37,7 @@
%endif
%global rust_triple %{_arch}-unknown-linux-%{abi}
# to bootstrap, change to bcond_without
%bcond_without bootstrap
%bcond_with bootstrap
Name: rust
Version: 1.15.0
Release: 0
@ -79,7 +79,7 @@ BuildRequires: rustc-bootstrap >= %{prev_version}
%else
%if %{without bootstrap}
BuildRequires: cargo
BuildRequires: rust <= %{version}
BuildRequires: rust <= %{prev_version}
BuildRequires: rust >= %{prev_version}
%endif
%endif