commit rust for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-07-08 15:03:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rust" Mon Jul 8 15:03:07 2019 rev:39 rq:713251 version:1.35.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rust/rust.changes 2019-06-03 18:45:44.248632642 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.4615/rust.changes 2019-07-08 15:03:11.250730737 +0200 @@ -1,0 +2,5 @@ +Tue Jul 2 07:21:24 UTC 2019 - Andreas Schwab <schwab@suse.de> + +- Add support for ppc + +------------------------------------------------------------------- New: ---- rust-1.35.0-powerpc-unknown-linux-gnu.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust.spec ++++++ --- /var/tmp/diff_new_pack.Kuop3N/_old 2019-07-08 15:03:27.338755062 +0200 +++ /var/tmp/diff_new_pack.Kuop3N/_new 2019-07-08 15:03:27.338755062 +0200 @@ -35,6 +35,9 @@ %global rust_arch arm %global abi gnueabihf %endif +%ifarch ppc +%global rust_arch powerpc +%endif %ifarch ppc64 %global rust_arch powerpc64 %endif @@ -61,6 +64,13 @@ %bcond_without bundled_llvm %endif +# RLS requires 64-bit atomics +%ifarch ppc +%bcond_with rls +%else +%bcond_without rls +%endif + # enable the --with-rust_bootstrap flag %bcond_with rust_bootstrap @@ -94,6 +104,7 @@ Source105: %{dl_url}/rust-%{version_bootstrap}-powerpc64-unknown-linux-gnu.tar.xz 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 # PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag Patch0: ignore-Wstring-conversion.patch # PATCH-FIX-UPSTREAM: gh#rust-lang/rust#60184 @@ -133,7 +144,7 @@ Conflicts: rustc-bootstrap # Restrict the architectures as building rust relies on being initially # bootstrapped before we can build the n+1 release -ExclusiveArch: x86_64 %{arm} aarch64 ppc64 ppc64le s390x %{ix86} +ExclusiveArch: x86_64 %{arm} aarch64 ppc ppc64 ppc64le s390x %{ix86} %ifarch %{ix86} ExclusiveArch: i686 %endif @@ -266,9 +277,9 @@ %package -n clippy Summary: Lints to catch common mistakes and improve Rust code -# /usr/bin/clippy-driver is dynamically linked against internal rustc libs License: MPL-2.0 Group: Development/Languages/Rust +# /usr/bin/clippy-driver is dynamically linked against internal rustc libs Requires: %{name} = %{version} Requires: cargo = %{version} Provides: clippy = %{clippy_version} @@ -290,10 +301,10 @@ %package -n cargo-doc Summary: Documentation for Cargo -# Cargo no longer builds its own documentation -# https://github.com/rust-lang/cargo/pull/4904 License: MIT OR Apache-2.0 Group: Development/Languages/Rust +# Cargo no longer builds its own documentation +# https://github.com/rust-lang/cargo/pull/4904 Requires: rust-doc = %{version} BuildArch: noarch @@ -326,6 +337,9 @@ %ifarch s390x %setup -q -T -b 107 -n rust-%{version_bootstrap}-%{rust_triple} %endif +%ifarch ppc +%setup -q -T -b 108 -n rust-%{version_bootstrap}-%{rust_triple} +%endif ./install.sh --components=cargo,rustc,rust-std-%{rust_triple} --prefix=.%{_prefix} --disable-ldconfig %endif @@ -394,7 +408,11 @@ %{codegen_units} \ --enable-vendor \ --enable-extended \ +%if %{with rls} --tools="cargo","rls","clippy","rustfmt","analysis","src" \ +%else + --tools="cargo","clippy","rustfmt","analysis","src" \ +%endif --release-channel="stable" # Sometimes we may be rebuilding with the same compiler, @@ -533,6 +551,7 @@ %dir %{rustlibdir} %{rustlibdir}/src +%if %{with rls} %files -n rls %if 0%{?suse_version} == 1315 %doc src/tools/rls/LICENSE-{APACHE,MIT} @@ -541,6 +560,7 @@ %endif %doc src/tools/rls/{README.md,COPYRIGHT,debugging.md} %{_bindir}/rls +%endif %files analysis %{rustlibdir}/%{rust_triple}/analysis/ ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.Kuop3N/_old 2019-07-08 15:03:27.374755116 +0200 +++ /var/tmp/diff_new_pack.Kuop3N/_new 2019-07-08 15:03:27.374755116 +0200 @@ -15,6 +15,7 @@ <arch>i586</arch> <arch>armv6l</arch> <arch>armv7l</arch> + <arch>ppc</arch> </conditions> <hardware> <processors>2</processors>
participants (1)
-
root