Update spec to bootstrap only for releases less than
TW or Leap 42.2. These releases as yet have no successful builds for which to build n+1 versions. OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=66
This commit is contained in:
parent
6ddb694dd8
commit
9ed84e474b
11
rust.spec
11
rust.spec
@ -62,24 +62,23 @@ Conflicts: rustc-bootstrap
|
|||||||
Provides: rustc = %{version}
|
Provides: rustc = %{version}
|
||||||
Provides: rustc-stable = %{version}
|
Provides: rustc-stable = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
# Restrict the architectures as building rust relies on being initially
|
||||||
|
# bootstrapped before we can build the n+1 release
|
||||||
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le s390x
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le s390x
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{arm} aarch64 ppc64 ppc64le s390x
|
# There are no successful builds for less than TW or Leap 42.2, so bootstrap
|
||||||
BuildRequires: cargo-bootstrap
|
# until such time that there is.
|
||||||
BuildRequires: rustc-bootstrap >= %{prev_version}
|
%if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} < 120200)
|
||||||
%else
|
|
||||||
%if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} < 120300)
|
|
||||||
BuildRequires: cargo-bootstrap
|
BuildRequires: cargo-bootstrap
|
||||||
BuildRequires: rustc-bootstrap >= %{prev_version}
|
BuildRequires: rustc-bootstrap >= %{prev_version}
|
||||||
%else
|
%else
|
||||||
BuildRequires: cargo
|
BuildRequires: cargo
|
||||||
BuildRequires: rust >= %{prev_version}
|
BuildRequires: rust >= %{prev_version}
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Rust is a systems programming language focused on three goals:
|
Rust is a systems programming language focused on three goals:
|
||||||
|
Loading…
Reference in New Issue
Block a user