From bb50254aff9a46499f674033145ed080a4860133cd15e703829f4e351bd74ee6 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 1 Apr 2020 17:53:48 +0000 Subject: [PATCH] Accepting request 790670 from home:alarrosa:branches:devel:languages:rust OBS-URL: https://build.opensuse.org/request/show/790670 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=245 --- ignore-Wstring-conversion.patch | 8 +-- rust-1.40.0-aarch64-unknown-linux-gnu.tar.xz | 3 - ....40.0-armv7-unknown-linux-gnueabihf.tar.xz | 3 - rust-1.40.0-i686-unknown-linux-gnu.tar.xz | 3 - rust-1.40.0-powerpc-unknown-linux-gnu.tar.xz | 3 - ...-1.40.0-powerpc64-unknown-linux-gnu.tar.xz | 3 - ....40.0-powerpc64le-unknown-linux-gnu.tar.xz | 3 - rust-1.40.0-s390x-unknown-linux-gnu.tar.xz | 3 - rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz | 3 - rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz | 3 + ....41.1-armv7-unknown-linux-gnueabihf.tar.xz | 3 + rust-1.41.1-i686-unknown-linux-gnu.tar.xz | 3 + rust-1.41.1-powerpc-unknown-linux-gnu.tar.xz | 3 + ...-1.41.1-powerpc64-unknown-linux-gnu.tar.xz | 3 + ....41.1-powerpc64le-unknown-linux-gnu.tar.xz | 3 + rust-1.41.1-s390x-unknown-linux-gnu.tar.xz | 3 + rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz | 3 + rust.changes | 59 +++++++++++++++++++ rust.spec | 7 +-- rustc-1.41.1-src.tar.xz | 3 - rustc-1.42.0-src.tar.xz | 3 + 21 files changed, 93 insertions(+), 35 deletions(-) delete mode 100644 rust-1.40.0-aarch64-unknown-linux-gnu.tar.xz delete mode 100644 rust-1.40.0-armv7-unknown-linux-gnueabihf.tar.xz delete mode 100644 rust-1.40.0-i686-unknown-linux-gnu.tar.xz delete mode 100644 rust-1.40.0-powerpc-unknown-linux-gnu.tar.xz delete mode 100644 rust-1.40.0-powerpc64-unknown-linux-gnu.tar.xz delete mode 100644 rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz delete mode 100644 rust-1.40.0-s390x-unknown-linux-gnu.tar.xz delete mode 100644 rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz create mode 100644 rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz create mode 100644 rust-1.41.1-armv7-unknown-linux-gnueabihf.tar.xz create mode 100644 rust-1.41.1-i686-unknown-linux-gnu.tar.xz create mode 100644 rust-1.41.1-powerpc-unknown-linux-gnu.tar.xz create mode 100644 rust-1.41.1-powerpc64-unknown-linux-gnu.tar.xz create mode 100644 rust-1.41.1-powerpc64le-unknown-linux-gnu.tar.xz create mode 100644 rust-1.41.1-s390x-unknown-linux-gnu.tar.xz create mode 100644 rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz delete mode 100644 rustc-1.41.1-src.tar.xz create mode 100644 rustc-1.42.0-src.tar.xz diff --git a/ignore-Wstring-conversion.patch b/ignore-Wstring-conversion.patch index 6a8efef..fc5b865 100644 --- a/ignore-Wstring-conversion.patch +++ b/ignore-Wstring-conversion.patch @@ -1,8 +1,8 @@ -Index: rustc-1.39.0-src/src/librustc_llvm/build.rs +Index: rustc-1.42.0-src/src/librustc_llvm/build.rs =================================================================== ---- rustc-1.39.0-src.orig/src/librustc_llvm/build.rs -+++ rustc-1.39.0-src/src/librustc_llvm/build.rs -@@ -137,6 +137,12 @@ fn main() { +--- rustc-1.42.0-src.orig/src/librustc_llvm/build.rs ++++ rustc-1.42.0-src/src/librustc_llvm/build.rs +@@ -135,6 +135,12 @@ fn main() { continue; } diff --git a/rust-1.40.0-aarch64-unknown-linux-gnu.tar.xz b/rust-1.40.0-aarch64-unknown-linux-gnu.tar.xz deleted file mode 100644 index eee606c..0000000 --- a/rust-1.40.0-aarch64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5817c8c3a919117ae6dac8e9b3039d4e614cc9bed8040bf64fcf2e683b8c6245 -size 80285104 diff --git a/rust-1.40.0-armv7-unknown-linux-gnueabihf.tar.xz b/rust-1.40.0-armv7-unknown-linux-gnueabihf.tar.xz deleted file mode 100644 index dcb0153..0000000 --- a/rust-1.40.0-armv7-unknown-linux-gnueabihf.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5701ea0b7551e0a77d6e08fee4f4c871d448d4f7e82be0ee39a834918306e7e -size 84254100 diff --git a/rust-1.40.0-i686-unknown-linux-gnu.tar.xz b/rust-1.40.0-i686-unknown-linux-gnu.tar.xz deleted file mode 100644 index cd9b50e..0000000 --- a/rust-1.40.0-i686-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:82454e1b60b2bc24779d9c949cc0e1da43f3e423dbfc6b45b5afddf65829fc9d -size 122168896 diff --git a/rust-1.40.0-powerpc-unknown-linux-gnu.tar.xz b/rust-1.40.0-powerpc-unknown-linux-gnu.tar.xz deleted file mode 100644 index d7c9caa..0000000 --- a/rust-1.40.0-powerpc-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddf32a5a091d2673f6c63d63dcdc69b98b6bbcc6dc382c6b2a50a7af08b049fe -size 82846452 diff --git a/rust-1.40.0-powerpc64-unknown-linux-gnu.tar.xz b/rust-1.40.0-powerpc64-unknown-linux-gnu.tar.xz deleted file mode 100644 index 9ffd6ba..0000000 --- a/rust-1.40.0-powerpc64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc8730d5b09ee8727d323ecac18f501ff5acd54e2b29bbd52a349b715bddbaa2 -size 85231436 diff --git a/rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz b/rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz deleted file mode 100644 index 62ed94f..0000000 --- a/rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:37d394ebc2c79ec585112d7ab2064d2a84bac3a841abb6a7244deed942398556 -size 87972788 diff --git a/rust-1.40.0-s390x-unknown-linux-gnu.tar.xz b/rust-1.40.0-s390x-unknown-linux-gnu.tar.xz deleted file mode 100644 index 7d9ea72..0000000 --- a/rust-1.40.0-s390x-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3241a5fce595a370fbe2f0e94e35679da3dc98aaae643e1586e0c5fba466677a -size 95398844 diff --git a/rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz b/rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz deleted file mode 100644 index 6c0a586..0000000 --- a/rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:37492d6467bcea611b2c7388aed50b655524f81410e255142ef6cfb6cef1ec53 -size 110186516 diff --git a/rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz b/rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..4dea11b --- /dev/null +++ b/rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:190a875658d007c8089c22fe544721e8f195eceeb66cd78e7799cdf02d7f36d0 +size 96755608 diff --git a/rust-1.41.1-armv7-unknown-linux-gnueabihf.tar.xz b/rust-1.41.1-armv7-unknown-linux-gnueabihf.tar.xz new file mode 100644 index 0000000..276589a --- /dev/null +++ b/rust-1.41.1-armv7-unknown-linux-gnueabihf.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:201102dca7adab3b37658d75b2988b6fb9299749347da2bb4b55c7e7f9db8cae +size 103399676 diff --git a/rust-1.41.1-i686-unknown-linux-gnu.tar.xz b/rust-1.41.1-i686-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..3e5a8be --- /dev/null +++ b/rust-1.41.1-i686-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e986045e8e56ae865b383aefcdef23ca926b0e11ffa785b90da1436d846bbea8 +size 120834812 diff --git a/rust-1.41.1-powerpc-unknown-linux-gnu.tar.xz b/rust-1.41.1-powerpc-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..93eb235 --- /dev/null +++ b/rust-1.41.1-powerpc-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e3566465c24e4f743d3f8f1d15b0cb1d7387f2c4e4a78cfbf5f116ec7c97f33 +size 98530136 diff --git a/rust-1.41.1-powerpc64-unknown-linux-gnu.tar.xz b/rust-1.41.1-powerpc64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..66470cb --- /dev/null +++ b/rust-1.41.1-powerpc64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:188433303e90821158c333d369ea14747bb30ed324cdc4d42f48c6cc812aae9a +size 104058752 diff --git a/rust-1.41.1-powerpc64le-unknown-linux-gnu.tar.xz b/rust-1.41.1-powerpc64le-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..d66c7a4 --- /dev/null +++ b/rust-1.41.1-powerpc64le-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10a327cc2f480e40c6d1f3b5bf4966725ab712b52a41637f13468962cfc40647 +size 110594504 diff --git a/rust-1.41.1-s390x-unknown-linux-gnu.tar.xz b/rust-1.41.1-s390x-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..21248ca --- /dev/null +++ b/rust-1.41.1-s390x-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c23621180d3973b97b7ff132522965f44d735d1be1b635ed53c8b65679713a4 +size 114814112 diff --git a/rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz b/rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..fa3bd5c --- /dev/null +++ b/rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14cd9014cf0d14a303e56e58cf9f89135d607590cd6b2201b38f25a4aa98f21a +size 111202140 diff --git a/rust.changes b/rust.changes index 857db42..16e2fab 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,62 @@ +------------------------------------------------------------------- +Tue Mar 31 12:28:18 UTC 2020 - Antonio Larrosa + +- Update to version 1.42.0: + + Language + - You can now use the slice pattern syntax with subslices. + - You can now use #[repr(transparent)] on univariant enums. Meaning + that you can create an enum that has the exact layout and ABI of + the type it contains. + - There are some syntax-only changes: + * default is syntactically allowed before items in trait + definitions. + * Items in impls (i.e. consts, types, and fns) may syntactically + leave out their bodies in favor of ;. + * Bounds on associated types in impls are now syntactically + allowed (e.g. type Foo: Ord;). + * ... (the C-variadic type) may occur syntactically directly + as the type of any function parameter. + These are still rejected semantically, so you will likely receive + an error but these changes can be seen and parsed by procedural + macros and conditional compilation. + + Compiler + - Added tier 2 support for armv7a-none-eabi. + - Added tier 2 support for riscv64gc-unknown-linux-gnu. + - Option::{expect,unwrap} and Result::{expect, expect_err, unwrap, + unwrap_err} now produce panic messages pointing to the location + where they were called, rather than core's internals. + Refer to Rust's platform support page for more information on + Rust's tiered platform support. + + Libraries + - iter::Empty now implements Send and Sync for any T. + - Pin::{map_unchecked, map_unchecked_mut} no longer require the + return type to implement Sized. + - io::Cursor now derives PartialEq and Eq. + - Layout::new is now const. + - Added Standard Library support for riscv64gc-unknown-linux-gnu. + + Stabilized APIs + - CondVar::wait_while + - CondVar::wait_timeout_while + - DebugMap::key + - DebugMap::value + - ManuallyDrop::take + - matches! + - ptr::slice_from_raw_parts_mut + - ptr::slice_from_raw_parts + + Cargo + - You no longer need to include extern crate proc_macro; to be + able to use proc_macro; in the 2018 edition. + + Compatibility Notes + - Error::description has been deprecated, and its use will now + produce a warning. It's recommended to use Display/to_string + instead. + +------------------------------------------------------------------- +Tue Mar 31 11:17:09 UTC 2020 - alarrosa@suse.com + +- Rebased patches: + + ignore-Wstring-conversion.patch (offset / fuzz) + ------------------------------------------------------------------- Mon Mar 23 19:01:55 UTC 2020 - Federico Mena Quintero diff --git a/rust.spec b/rust.spec index b6390e4..f96cfe3 100644 --- a/rust.spec +++ b/rust.spec @@ -17,9 +17,9 @@ # -%global version_current 1.41.1 -%global version_previous 1.40.0 -%global version_bootstrap 1.40.0 +%global version_current 1.42.0 +%global version_previous 1.41.1 +%global version_bootstrap 1.41.1 # some sub-packages are versioned independently %global rustfmt_version 1.4.11 @@ -416,7 +416,6 @@ find vendor -name .cargo-checksum.json \ -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' '+' # Fix rpmlint error "This script uses 'env' as an interpreter" -sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' src/libcore/unicode/unicode.py sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' src/libcore/unicode/printable.py chmod +x src/libcore/unicode/printable.py diff --git a/rustc-1.41.1-src.tar.xz b/rustc-1.41.1-src.tar.xz deleted file mode 100644 index d480b09..0000000 --- a/rustc-1.41.1-src.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ebac9861b43c7207af36e24402dfdc5463a4df4bdb015ccb2b165251c0fdcf7c -size 93754192 diff --git a/rustc-1.42.0-src.tar.xz b/rustc-1.42.0-src.tar.xz new file mode 100644 index 0000000..2e0b332 --- /dev/null +++ b/rustc-1.42.0-src.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa5b4c0f2bac33cc26a11523fce9b0f120d2eff510ed148ae7c586501481ed04 +size 94186592