- Add riscv64 build

- Add rust.keyring as a source

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=274
This commit is contained in:
Neal Gompa 2021-01-10 13:20:06 +00:00 committed by Git OBS Bridge
parent 34a443633b
commit 311dd77155
4 changed files with 28 additions and 6 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9e225458e84d4004654f10f99fc4924bf36d2e2ded4927227892479c08a5921
size 135886264

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEwTRmt+FpoIUYhjIWXLSpNHs7CdwFAl9/C0MACgkQXLSpNHs7
Cdz+iBAAnHQdSzY+6UV5OoYVQlfj/2pSYh+brW5XCojO4ZMtqf3OBqqLiSBRJ9yV
uC4M9OG8iJob83gEjEV2xhapdcnCf+HvOZTGIZu9AQAwRM0AK+NQkH8G8migmnjv
njT4g/9stUHVnf4qYb3TK/dZviJWtDoem13MlbCGoEM2IBqzOsN5pJOGMcACwNkW
j6BJ/oY8rjMDvsMpVrkK2pBbC/D8NGW/IbKlzaLT5hvmPsNNAIbhrAcZnHOvYYE0
nd5V12SXHcQ8phGg+HvBTWC2xZQCJOjwhk9DYHGIXhT1NtjrV76NWtUlQTbtj8Am
pFOa+fPWGHBTYNZTfPo23XcwuWSrsMJM2gLNfwaz8UlD2ck7Aj5VSdlFoSH06tw9
zAGqeDPnVCeXax3ZNf7kMf+CS9VbnVvP3CeG0zftUI1O5Iv0CJXqIfG044FhdI5q
uZXOu+qfkOikhWp3OKOOXJnUOA1UHBTICEYWhLitS33YI42uknT3hvZsNu+utxo0
jADE4IUYGcxYYK3SqFZotFTsPGJR/Tt41svV1cfrQrRQJPY6ktCzuKX+7/zgD7K1
DGnNwsno/2YM/EJLeI+DVKS81WXN3Vhu8OYC9ROIgVOFqI2XGPMIeLbVZw9EADjQ
YHdvLkXW97UqOBhu352bMGDlTZGFhE0+l0rKCZNYYwvmTUH809M=
=+tx9
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 10 13:15:07 UTC 2021 - Neal Gompa <ngompa13@gmail.com>
- Add riscv64 build
-------------------------------------------------------------------
Sat Jan 9 18:34:41 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>

View File

@ -129,6 +129,7 @@ License: MIT OR Apache-2.0
Group: Development/Languages/Rust
URL: https://www.rust-lang.org
Source0: %{dl_url}/rustc-%{version}-src.tar.xz
Source1: %{name}.keyring
Source99: %{name}-rpmlintrc
Source100: %{dl_url}/rust-%{version_bootstrap}-x86_64-unknown-linux-gnu.tar.xz
Source101: %{dl_url}/rust-%{version_bootstrap}-i686-unknown-linux-gnu.tar.xz
@ -138,8 +139,7 @@ Source105: %{dl_url}/rust-%{version_bootstrap}-powerpc64-unknown-linux-gnu.
Source106: %{dl_url}/rust-%{version_bootstrap}-powerpc64le-unknown-linux-gnu.tar.xz
Source107: %{dl_url}/rust-%{version_bootstrap}-s390x-unknown-linux-gnu.tar.xz
Source108: %{dl_url}/rust-%{version_bootstrap}-powerpc-unknown-linux-gnu.tar.xz
# Not yet available
#Source109: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.tar.xz
Source109: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.tar.xz
Source200: %{dl_url}/rust-%{version_bootstrap}-x86_64-unknown-linux-gnu.tar.xz.asc
Source201: %{dl_url}/rust-%{version_bootstrap}-i686-unknown-linux-gnu.tar.xz.asc
Source202: %{dl_url}/rust-%{version_bootstrap}-aarch64-unknown-linux-gnu.tar.xz.asc
@ -148,8 +148,7 @@ Source205: %{dl_url}/rust-%{version_bootstrap}-powerpc64-unknown-linux-gnu.
Source206: %{dl_url}/rust-%{version_bootstrap}-powerpc64le-unknown-linux-gnu.tar.xz.asc
Source207: %{dl_url}/rust-%{version_bootstrap}-s390x-unknown-linux-gnu.tar.xz.asc
Source208: %{dl_url}/rust-%{version_bootstrap}-powerpc-unknown-linux-gnu.tar.xz.asc
# Not yet available
#Source209: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.tar.xz.asc
Source209: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.tar.xz.asc
# Make factory-auto stop complaining...
Source1000: README.suse-maint
# PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag
@ -397,8 +396,7 @@ This package includes HTML documentation for Cargo.
%setup -q -T -b 108 -n rust-%{version_bootstrap}-%{rust_triple}
%endif
%ifarch riscv64
# Not yet available
#%%setup -q -T -b 109 -n rust-%{version_bootstrap}-%{rust_triple}
%setup -q -T -b 109 -n rust-%{version_bootstrap}-%{rust_triple}
%endif
./install.sh --components=cargo,rustc,rust-std-%{rust_triple} --prefix=.%{_prefix} --disable-ldconfig
%endif