This commit is contained in:
parent
02b41e2182
commit
d5be603897
15
rust.spec
15
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user