Add conditional for building for Leap 42.2 with bootstrap.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=60
This commit is contained in:
Luke Jones 2017-02-13 04:09:18 +00:00 committed by Git OBS Bridge
parent 3e55321f25
commit a0dd104efa

View File

@ -72,6 +72,9 @@ BuildRequires: rustc-bootstrap == %{prev_version}
%else
%ifarch %{arm} aarch64 ppc64 ppc64le
BuildRequires: cargo-bootstrap
BuildRequires: rustc-bootstrap == %{prev_version}
%elif 0%{?leap_version} == 420200
BuildRequires: cargo-bootstrap
BuildRequires: rustc-bootstrap == %{prev_version}
%else
BuildRequires: cargo