Accepting request 494000 from home:luke_nukem:branches:devel:languages:rust

Fix dependencies

OBS-URL: https://build.opensuse.org/request/show/494000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=107
This commit is contained in:
Luke Jones 2017-05-10 07:11:46 +00:00 committed by Git OBS Bridge
parent 097b4d287e
commit 2c0d88b8e4
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 10 07:09:13 UTC 2017 - luke.nukem.jones@gmail.com
- Adjustment of rust version dependency to prevent inability to
build in the adi rings.
-------------------------------------------------------------------
Sun Apr 30 04:48:19 UTC 2017 - luke.nukem.jones@gmail.com

View File

@ -92,11 +92,14 @@ BuildRequires: fdupes
# There are no successful builds for less than TW or Leap 42.2, so bootstrap
# until such time that there is.
%if %{with rust_bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120100)
BuildRequires: rust-std-bootstrap == %{prev_rust}
BuildRequires: rustc-bootstrap == %{prev_rust}
BuildRequires: rust-std-bootstrap = %{prev_rust}
BuildRequires: rustc-bootstrap = %{prev_rust}
%else
BuildRequires: rust == %{prev_rust}
BuildRequires: rust-std == %{prev_rust}
# if there is a package choice, use prefer version in prjconfig
BuildRequires: rust <= %{version}
BuildRequires: rust >= %{prev_rust}
BuildRequires: rust-std <= %{version}
BuildRequires: rust-std >= %{prev_rust}
%endif
%description