Restrict build to to use rustc n-1 version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=58
This commit is contained in:
Luke Jones 2017-02-13 03:45:30 +00:00 committed by Git OBS Bridge
parent 7a34637a1f
commit bbd20fa1a8

View File

@ -72,8 +72,8 @@ BuildRequires: rustc-bootstrap <= %{version}
BuildRequires: rustc-bootstrap >= %{prev_version} BuildRequires: rustc-bootstrap >= %{prev_version}
%else %else
BuildRequires: cargo BuildRequires: cargo
BuildRequires: rust <= %{version} #BuildRequires: rust <= %{version}
BuildRequires: rust >= %{prev_version} BuildRequires: rust == %{prev_version}
%endif %endif
%description %description