Luke Jones 2017-03-23 08:36:45 +00:00 committed by Git OBS Bridge
parent 7c2e5178f9
commit 00a579d8ce

View File

@ -41,7 +41,7 @@
%endif
%global rust_triple %{_arch}-unknown-linux-%{abi}
%bcond_with rust_bootstrap
Name: rust
Name: rust-%{version}
Version: 1.16.0
Release: 0
Summary: A systems programming language
@ -65,10 +65,13 @@ BuildRequires: python
Recommends: cargo
Recommends: %{name}-doc
Recommends: %{name}-std
Conflicts: rustc-bootstrap
Conflicts: rust < %{version}
Provides: rustc = %{version}
Provides: rustc-stable = %{version}
Provides: rust = %{version}
Conflicts: rust <= %{version}
Conflicts: rust >= %{version}
Conflicts: rustc-bootstrap <= %{version}
Conflicts: rustc-bootstrap >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Restrict the architectures as building rust relies on being initially
# bootstrapped before we can build the n+1 release