Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-04-18 13:55:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust" Thu Apr 18 13:55:59 2019 rev:36 rq:694775 version:1.34.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rust/rust.changes 2019-04-02 09:19:02.716566546 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.5536/rust.changes 2019-04-18 13:56:55.247965125 +0200 @@ -1,0 +2,96 @@ +Thu Apr 11 23:32:24 UTC 2019 - Luke Jones <[email protected]> + +- Update to version 1.34.0 + + Language + - You can now use `#[deprecated = "reason"]` as a shorthand for + `#[deprecated(note = "reason")]`. This was previously allowed + by mistake but had no effect. + - You can now accept token streams in `#[attr()]`,`#[attr[]]`, and + `#[attr{}]` procedural macros. + - You can now write `extern crate self as foo;` to import your + crate's root into the extern prelude. + + Compiler + - You can now target `riscv64imac-unknown-none-elf` and + `riscv64gc-unknown-none-elf`. + - You can now enable linker plugin LTO optimisations with + `-C linker-plugin-lto`. This allows rustc to compile your Rust + code into LLVM bitcode allowing LLVM to perform LTO optimisations + across C/C++ FFI boundaries. + - You can now target `powerpc64-unknown-freebsd`. + + Libraries + - The trait bounds have been removed on some of `HashMap<K, V, S>`'s + and `HashSet<T, S>`'s basic methods. Most notably you no longer + require the `Hash` trait to create an iterator. + - The `Ord` trait bounds have been removed on some of + `BinaryHeap<T>`'s basic methods. Most notably you no longer require + the `Ord` trait to create an iterator. + - The methods `overflowing_neg` and `wrapping_neg` are now `const` + functions for all numeric types. + - Indexing a `str` is now generic over all types that + implement `SliceIndex<str>`. + - `str::trim`, `str::trim_matches`, `str::trim_{start, end}`, and + `str::trim_{start, end}_matches` are now `#[must_use]` and will + produce a warning if their returning type is unused. + - The methods `checked_pow`, `saturating_pow`, `wrapping_pow`, and + `overflowing_pow` are now available for all numeric types. These are + equivalvent to methods such as `wrapping_add` for the `pow` operation. + + Stabilized APIs + - std & core + + Any::type_id + + Error::type_id + + atomic::AtomicI16 + + atomic::AtomicI32 + + atomic::AtomicI64 + + atomic::AtomicI8 + + atomic::AtomicU16 + + atomic::AtomicU32 + + atomic::AtomicU64 + + atomic::AtomicU8 + + convert::Infallible + + convert::TryFrom + + convert::TryInto + + iter::from_fn + + iter::successors + + num::NonZeroI128 + + num::NonZeroI16 + + num::NonZeroI32 + + num::NonZeroI64 + + num::NonZeroI8 + + num::NonZeroIsize + + slice::sort_by_cached_key + + str::escape_debug + + str::escape_default + + str::escape_unicode + + str::split_ascii_whitespace + - std + + Instant::checked_add + + Instant::checked_sub + + SystemTime::checked_add + + SystemTime::checked_sub + + Cargo + - You can now use alternative registries to crates.io. + + Misc + - You can now use the `?` operator in your documentation + tests without manually adding `fn main() -> Result<(), _> {}`. + + Compatibility Notes + - `Command::before_exec` is now deprecated in favor of the + unsafe method `Command::pre_exec`. + - Use of `ATOMIC_{BOOL, ISIZE, USIZE}_INIT` is now deprecated. + As you can now use `const` functions in `static` variables. +- Remove depreciated-trim_left_matches.patch. +- Rustfmt version bumped to 1.0.3 + + Change description not provided. +- rls version now in sync with rustc. +- Misc fixes to rust.spec + +------------------------------------------------------------------- +Mon Mar 25 16:09:44 UTC 2019 - Federico Mena Quintero <[email protected]> + +- Use the system's LLVM in SLE15-SP1. That distribution has LLVM7, + and we need to use it there, instead of any other version. +- Prevent auto-provides from being created for things under + rustlibdir, so the RPM does not inadvertently have a Provides for a + bundled LLVM and the Rust library files. +- Sync changes files between SLE and openSUSE, for ease of maintenance. + +------------------------------------------------------------------- @@ -186,0 +283,8 @@ +Tue Jan 22 18:19:47 UTC 2019 - [email protected] + +- Remove + CVE-2018-1000622-prevent-rustdoc-loads-uncontrolled-plugins-path.patch, + since rustdoc plugins are fixed since version 1.27.1 (bsc#1100691, + CVE-2018-1000622). + +------------------------------------------------------------------- @@ -777,0 +882,16 @@ +Thu Oct 11 10:00:22 UTC 2018 - [email protected] + +- Add CVE-2018-1000622-prevent-rustdoc-loads-uncontrolled-plugins-path.patch: + + This patch consists of requiring `--plugin-path` to be passed + whenever `--plugin` is passed + + rustdoc plugins will be removed entirely on 1.28.0, we should + drop this patch after 1.28.0(bsc#1100691, CVE-2018-1000622). + +------------------------------------------------------------------- +Thu Aug 9 10:18:06 UTC 2018 - [email protected] + +- Ship rust-std on SLE-15 (bsc#1096945) + + No new changes came with this update of rust. + +------------------------------------------------------------------- @@ -1936 +2055,0 @@ - Old: ---- depreciated-trim_left_matches.patch rust-1.32.0-aarch64-unknown-linux-gnu.tar.xz rust-1.32.0-arm-unknown-linux-gnueabihf.tar.xz rust-1.32.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.32.0-i686-unknown-linux-gnu.tar.xz rust-1.32.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.32.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.32.0-s390x-unknown-linux-gnu.tar.xz rust-1.32.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.33.0-src.tar.xz New: ---- rust-1.34.0-aarch64-unknown-linux-gnu.tar.xz rust-1.34.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.34.0-i686-unknown-linux-gnu.tar.xz rust-1.34.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.34.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.34.0-s390x-unknown-linux-gnu.tar.xz rust-1.34.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.34.0-src.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust.spec ++++++ --- /var/tmp/diff_new_pack.11ZPnn/_old 2019-04-18 13:57:32.555977565 +0200 +++ /var/tmp/diff_new_pack.11ZPnn/_new 2019-04-18 13:57:32.583977575 +0200 @@ -13,16 +13,15 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global version_current 1.33.0 -%global version_previous 1.32.0 -%global version_bootstrap 1.32.0 +%global version_current 1.34.0 +%global version_previous 1.33.0 +%global version_bootstrap 1.34.0 # some sub-packages are versioned independantly -%global rustfmt_version 1.0.0 -%global rls_version 1.31.6 +%global rustfmt_version 1.0.3 %global clippy_version 0.0.212 # Build the rust target triple. # Some rust arches don't match what SUSE labels them. @@ -57,12 +56,8 @@ # Will build with distro LLVM by default, but the following # versions do not have a version new enough, >= 6.0 # add --without bundled_llvm option, i.e. enable bundled_llvm by default -# Leap 15.0, SLE 15 -%if 0%{?sle_version} == 150000 -%bcond_without bundled_llvm -%endif -# Leap 42 to 42.3, SLE12 SP1 to SLE12 SP3 -%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120400 +# Leap 42 to 42.3, SLE12 SP1 to SLE12 SP3, Leap 15.0, SLE15 SP0 +%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 150000 %bcond_without bundled_llvm %endif @@ -80,6 +75,9 @@ # Use hardening ldflags. %global rustflags -Clink-arg=-Wl,-z,relro,-z,now +# Exclude implicitly-scanned Provides, especially the libLLVM.so ones: +%global __provides_exclude_from ^%{rustlibdir}/.*$ + Name: rust Version: %{version_current} Release: 0 @@ -93,14 +91,11 @@ Source101: %{dl_url}/rust-%{version_bootstrap}-i686-unknown-linux-gnu.tar.xz Source102: %{dl_url}/rust-%{version_bootstrap}-aarch64-unknown-linux-gnu.tar.xz Source103: %{dl_url}/rust-%{version_bootstrap}-armv7-unknown-linux-gnueabihf.tar.xz -Source104: %{dl_url}/rust-%{version_bootstrap}-arm-unknown-linux-gnueabihf.tar.xz 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 # PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag Patch0: ignore-Wstring-conversion.patch -# PATCH-FIX-OPENSUSE: replace depreciated trim_left_matches with trim_start_matches -Patch1: depreciated-trim_left_matches.patch BuildRequires: ccache # Leap 42 to 42.3, SLE12 SP1, SP2 %if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120200 @@ -229,7 +224,6 @@ Requires: %{name} = %{version} Requires: %{name}-analysis = %{version} Requires: %{name}-src = %{version} -Provides: rls = %{rls_version} %description -n rls The RLS provides a server that runs in the background, providing IDEs, @@ -342,7 +336,6 @@ %setup -q -n rustc-%{version}-src %patch0 -p1 -%patch1 -p1 # use python3 sed -i -e "1s|#!.*|#!%{_bindir}/python3|" x.py @@ -358,8 +351,8 @@ rm -rf src/stdsimd/ci # Remove hidden files from source -find src/ -type f -name '.appveyor.yml -exec rm -v '{}' '+' -find src/ -type f -name '.travis.yml -exec rm -v '{}' '+' +find src/ -type f -name '.appveyor.yml' -exec rm -v '{}' '+' +find src/ -type f -name '.travis.yml' -exec rm -v '{}' '+' %if !%with bundled_llvm rm -rf src/llvm/ @@ -408,7 +401,7 @@ # BEGIN EXPORTS # Keep all the "export VARIABLE" together here, so they can be -# cut&pasted to the %install section below. And please keep them +# cut&pasted to the %%install section below. And please keep them # in sync! # If the environments between build and install and different, # everything will be rebuilt during installation! @@ -429,7 +422,7 @@ %install # BEGIN EXPORTS # Keep all the "export VARIABLE" together here, so they can be -# cut&pasted to the %install section below. And please keep them +# cut&pasted to the %%install section below. And please keep them # in sync! # If the environments between build and install and different, # everything will be rebuilt during installation! @@ -457,6 +450,7 @@ # Sanitize the HTML documentation find %{buildroot}%{_docdir}/%{name}/html -empty -delete find %{buildroot}%{_docdir}/%{name}/html -type f -exec chmod -x '{}' '+' +find %{buildroot}%{_docdir}/%{name}/html -type f -name '.nojekyll' -exec rm -v '{}' '+' # Remove the license files from _docdir: make install put duplicates there rm %{buildroot}%{_docdir}/%{name}/{README.md,COPYRIGHT,LICENSE*} @@ -518,6 +512,7 @@ %files -n rust-gdb %{_bindir}/rust-gdb +%{_bindir}/rust-gdbgui %dir %{rustlibdir} %dir %{rustlibdir}%{_sysconfdir} %{rustlibdir}%{_sysconfdir}/debugger_pretty_printers_common.py ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.11ZPnn/_old 2019-04-18 13:57:32.991977711 +0200 +++ /var/tmp/diff_new_pack.11ZPnn/_new 2019-04-18 13:57:33.011977717 +0200 @@ -36,7 +36,7 @@ <size unit="G">8</size> </physicalmemory> <disk> - <size unit="G">25</size> + <size unit="G">50</size> </disk> </hardware> </overwrite> ++++++ rust-1.32.0-aarch64-unknown-linux-gnu.tar.xz -> rust-1.34.0-aarch64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.32.0-aarch64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.5536/rust-1.34.0-aarch64-unknown-linux-gnu.tar.xz differ: char 25, line 1 ++++++ rust-1.32.0-armv7-unknown-linux-gnueabihf.tar.xz -> rust-1.34.0-armv7-unknown-linux-gnueabihf.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.32.0-armv7-unknown-linux-gnueabihf.tar.xz /work/SRC/openSUSE:Factory/.rust.new.5536/rust-1.34.0-armv7-unknown-linux-gnueabihf.tar.xz differ: char 25, line 1 ++++++ rust-1.32.0-i686-unknown-linux-gnu.tar.xz -> rust-1.34.0-i686-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.32.0-i686-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.5536/rust-1.34.0-i686-unknown-linux-gnu.tar.xz differ: char 25, line 1 ++++++ rust-1.32.0-powerpc64-unknown-linux-gnu.tar.xz -> rust-1.34.0-powerpc64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.32.0-powerpc64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.5536/rust-1.34.0-powerpc64-unknown-linux-gnu.tar.xz differ: char 25, line 1 ++++++ rust-1.32.0-powerpc64le-unknown-linux-gnu.tar.xz -> rust-1.34.0-powerpc64le-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.32.0-powerpc64le-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.5536/rust-1.34.0-powerpc64le-unknown-linux-gnu.tar.xz differ: char 25, line 1 ++++++ rust-1.32.0-s390x-unknown-linux-gnu.tar.xz -> rust-1.34.0-s390x-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.32.0-s390x-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.5536/rust-1.34.0-s390x-unknown-linux-gnu.tar.xz differ: char 25, line 1 ++++++ rust-1.32.0-x86_64-unknown-linux-gnu.tar.xz -> rust-1.34.0-x86_64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.32.0-x86_64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.5536/rust-1.34.0-x86_64-unknown-linux-gnu.tar.xz differ: char 25, line 1 ++++++ rust-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.11ZPnn/_old 2019-04-18 13:57:34.523978221 +0200 +++ /var/tmp/diff_new_pack.11ZPnn/_new 2019-04-18 13:57:34.539978227 +0200 @@ -13,4 +13,4 @@ addFilter("rust-analysis.x86_64: W: no-version-in-last-changelog") addFilter("rustfmt.x86_64: W: no-version-in-last-changelog") # error when building with bootstrap. ignore for now -addFilter(".*shlib-policy-name-error.*libLLVM-8svn.*") \ No newline at end of file +addFilter(".*shlib-policy-name-error.*libLLVM-8.*") \ No newline at end of file ++++++ rustc-1.33.0-src.tar.xz -> rustc-1.34.0-src.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rustc-1.33.0-src.tar.xz /work/SRC/openSUSE:Factory/.rust.new.5536/rustc-1.34.0-src.tar.xz differ: char 27, line 1
