Luke Jones 2017-02-14 09:35:33 +00:00 committed by Git OBS Bridge
parent f3ef5d0f6e
commit 1a43cf6465

View File

@ -70,20 +70,15 @@ ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le s390x
BuildRequires: fdupes
%endif
%ifarch %{arm} aarch64 ppc64 ppc64le s390x
BuildRequires: cargo-bootstrap
BuildRequires: rustc-bootstrap >= %{prev_version}
%else
# There are no successful builds for less than TW or Leap 42.2, so bootstrap
# until such time that there is.
%if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} < 120200)
%if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120300)
BuildRequires: cargo-bootstrap
BuildRequires: rustc-bootstrap >= %{prev_version}
%else
BuildRequires: cargo
BuildRequires: rust >= %{prev_version}
%endif
%endif
%description
Rust is a systems programming language focused on three goals: