From d5be6038974c9ecebd99fb8fab851ac7618a78ff2e7bbc10b9fd4f8a0d8d21ee Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Wed, 1 Feb 2017 09:35:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=33 --- rust.spec | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/rust.spec b/rust.spec index 66a5a9c..6ba2790 100644 --- a/rust.spec +++ b/rust.spec @@ -42,28 +42,23 @@ Provides: rustc-stable = %{version} Conflicts: rustc-bootstrap BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le %if 0%{?suse_version} BuildRequires: fdupes %endif -%ifarch %{arm} +%ifnarch %{ix86} x86_64 BuildRequires: rustc-bootstrap <= %{prev_version} BuildRequires: rustc-bootstrap >= %{prev_version} %else - %ifarch aarch64 + %if %{with bootstrap} BuildRequires: rustc-bootstrap <= %{prev_version} BuildRequires: rustc-bootstrap >= %{prev_version} %else - %if %{with bootstrap} -BuildRequires: rustc-bootstrap <= %{prev_version} -BuildRequires: rustc-bootstrap >= %{prev_version} - %else - %if %{without bootstrap} + %if %{without bootstrap} BuildRequires: rust <= %{version} BuildRequires: rust >= %{prev_version} - %endif %endif - %endif + %endif %endif %description