- Adjust build so that aarch and ARM architectures use bootstrap for
initial build OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=31
This commit is contained in:
parent
2b49e822b5
commit
02b41e2182
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 31 09:41:33 UTC 2017 - luke.nukem.jones@gmail.com
|
||||||
|
|
||||||
|
- Adjust build so that aarch and ARM architectures use bootstrap for
|
||||||
|
initial build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 31 04:25:06 UTC 2017 - luke.nukem.jones@gmail.com
|
Tue Jan 31 04:25:06 UTC 2017 - luke.nukem.jones@gmail.com
|
||||||
|
|
||||||
|
24
rust.spec
24
rust.spec
@ -39,25 +39,31 @@ Recommends: cargo
|
|||||||
Obsoletes: rustc-1_9
|
Obsoletes: rustc-1_9
|
||||||
Provides: rustc = %{version}
|
Provides: rustc = %{version}
|
||||||
Provides: rustc-stable = %{version}
|
Provides: rustc-stable = %{version}
|
||||||
Conflicts: rustc-bootstrap <= %{version}
|
Conflicts: rustc-bootstrap
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%endif
|
%endif
|
||||||
%if %{with bootstrap}
|
%ifarch %{arm}
|
||||||
BuildRequires: rustc-bootstrap <= %{prev_version}
|
BuildRequires: rustc-bootstrap <= %{prev_version}
|
||||||
BuildRequires: rustc-bootstrap >= %{prev_version}
|
BuildRequires: rustc-bootstrap >= %{prev_version}
|
||||||
%else
|
%else
|
||||||
%ifnarch armv7hl
|
%ifarch aarch64
|
||||||
|
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}
|
||||||
BuildRequires: rust <= %{version}
|
BuildRequires: rust <= %{version}
|
||||||
BuildRequires: rust >= %{prev_version}
|
BuildRequires: rust >= %{prev_version}
|
||||||
%endif
|
%endif
|
||||||
%ifarch armv7hl
|
%endif
|
||||||
BuildRequires: rustc-bootstrap <= %{prev_version}
|
%endif
|
||||||
BuildRequires: rustc-bootstrap >= %{prev_version}
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user