From 00a579d8ce31f31bfbeaf65b23537c7201d98b4598fe6de60c185469b6abaf6b Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Thu, 23 Mar 2017 08:36:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=85 --- rust.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/rust.spec b/rust.spec index df845b9..10e7383 100644 --- a/rust.spec +++ b/rust.spec @@ -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