From ee99c69dc3250e9bcbf672c38a3265d5c783102d68dd7d7fdb449fc44c6ad375 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sun, 13 May 2018 15:55:39 +0000 Subject: [PATCH] Accepting request 606817 from home:luc14n0:branches:devel:languages:rust Update to version 1.26.0 OBS-URL: https://build.opensuse.org/request/show/606817 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=157 --- cargo-0.25.0-aarch64-unknown-linux-gnu.tar.gz | 3 - ...-0.25.0-arm-unknown-linux-gnueabihf.tar.gz | 3 - ....25.0-armv7-unknown-linux-gnueabihf.tar.gz | 3 - cargo-0.25.0-i686-unknown-linux-gnu.tar.gz | 3 - ...-0.25.0-powerpc64-unknown-linux-gnu.tar.gz | 3 - ....25.0-powerpc64le-unknown-linux-gnu.tar.gz | 3 - cargo-0.25.0-s390x-unknown-linux-gnu.tar.gz | 3 - cargo-0.25.0-x86_64-unknown-linux-gnu.tar.gz | 3 - cargo-0.26.0-aarch64-unknown-linux-gnu.tar.gz | 3 + ...-0.26.0-arm-unknown-linux-gnueabihf.tar.gz | 3 + ....26.0-armv7-unknown-linux-gnueabihf.tar.gz | 3 + cargo-0.26.0-i686-unknown-linux-gnu.tar.gz | 3 + ...-0.26.0-powerpc64-unknown-linux-gnu.tar.gz | 3 + ....26.0-powerpc64le-unknown-linux-gnu.tar.gz | 3 + cargo-0.26.0-s390x-unknown-linux-gnu.tar.gz | 3 + cargo-0.26.0-x86_64-unknown-linux-gnu.tar.gz | 3 + rust.changes | 64 +++++++++++++++++++ rust.spec | 15 ++--- rustc-1.25.0-src.tar.gz | 3 - rustc-1.26.0-src.tar.gz | 3 + 20 files changed, 97 insertions(+), 36 deletions(-) delete mode 100644 cargo-0.25.0-aarch64-unknown-linux-gnu.tar.gz delete mode 100644 cargo-0.25.0-arm-unknown-linux-gnueabihf.tar.gz delete mode 100644 cargo-0.25.0-armv7-unknown-linux-gnueabihf.tar.gz delete mode 100644 cargo-0.25.0-i686-unknown-linux-gnu.tar.gz delete mode 100644 cargo-0.25.0-powerpc64-unknown-linux-gnu.tar.gz delete mode 100644 cargo-0.25.0-powerpc64le-unknown-linux-gnu.tar.gz delete mode 100644 cargo-0.25.0-s390x-unknown-linux-gnu.tar.gz delete mode 100644 cargo-0.25.0-x86_64-unknown-linux-gnu.tar.gz create mode 100644 cargo-0.26.0-aarch64-unknown-linux-gnu.tar.gz create mode 100644 cargo-0.26.0-arm-unknown-linux-gnueabihf.tar.gz create mode 100644 cargo-0.26.0-armv7-unknown-linux-gnueabihf.tar.gz create mode 100644 cargo-0.26.0-i686-unknown-linux-gnu.tar.gz create mode 100644 cargo-0.26.0-powerpc64-unknown-linux-gnu.tar.gz create mode 100644 cargo-0.26.0-powerpc64le-unknown-linux-gnu.tar.gz create mode 100644 cargo-0.26.0-s390x-unknown-linux-gnu.tar.gz create mode 100644 cargo-0.26.0-x86_64-unknown-linux-gnu.tar.gz delete mode 100644 rustc-1.25.0-src.tar.gz create mode 100644 rustc-1.26.0-src.tar.gz diff --git a/cargo-0.25.0-aarch64-unknown-linux-gnu.tar.gz b/cargo-0.25.0-aarch64-unknown-linux-gnu.tar.gz deleted file mode 100644 index b4f0dc1..0000000 --- a/cargo-0.25.0-aarch64-unknown-linux-gnu.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eceee633b657f9371e851b71a387755840111d6f1105e6a9ba3093230b0b5b3d -size 4858889 diff --git a/cargo-0.25.0-arm-unknown-linux-gnueabihf.tar.gz b/cargo-0.25.0-arm-unknown-linux-gnueabihf.tar.gz deleted file mode 100644 index c1dc3ed..0000000 --- a/cargo-0.25.0-arm-unknown-linux-gnueabihf.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9768b3624ed31d970d0ff47c469315e3c43d0b23137742ec427593cd9589d84f -size 5826101 diff --git a/cargo-0.25.0-armv7-unknown-linux-gnueabihf.tar.gz b/cargo-0.25.0-armv7-unknown-linux-gnueabihf.tar.gz deleted file mode 100644 index e74ce17..0000000 --- a/cargo-0.25.0-armv7-unknown-linux-gnueabihf.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ea742a05151e9d186ef6d5130676a0d8d1c2cfaadddeab554839dd4a6861bee -size 5674664 diff --git a/cargo-0.25.0-i686-unknown-linux-gnu.tar.gz b/cargo-0.25.0-i686-unknown-linux-gnu.tar.gz deleted file mode 100644 index 1cb2802..0000000 --- a/cargo-0.25.0-i686-unknown-linux-gnu.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a04935a6ac66225c0d1c9e3dfc4826e714973252dd24711c365e6dfe2cf62e73 -size 6083273 diff --git a/cargo-0.25.0-powerpc64-unknown-linux-gnu.tar.gz b/cargo-0.25.0-powerpc64-unknown-linux-gnu.tar.gz deleted file mode 100644 index 8a2704c..0000000 --- a/cargo-0.25.0-powerpc64-unknown-linux-gnu.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad081f57e13caa4b6be9ca828c4c6f74ad57fa303f68df5909c0d2ca5acd8f19 -size 5615335 diff --git a/cargo-0.25.0-powerpc64le-unknown-linux-gnu.tar.gz b/cargo-0.25.0-powerpc64le-unknown-linux-gnu.tar.gz deleted file mode 100644 index 1c87e96..0000000 --- a/cargo-0.25.0-powerpc64le-unknown-linux-gnu.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:106ac17b7c1ed13758ea7934665e03976c5924ee996d54b95ac4cec160f4e84b -size 5538563 diff --git a/cargo-0.25.0-s390x-unknown-linux-gnu.tar.gz b/cargo-0.25.0-s390x-unknown-linux-gnu.tar.gz deleted file mode 100644 index 6bca7c2..0000000 --- a/cargo-0.25.0-s390x-unknown-linux-gnu.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f32967a9ef16c78c7d73726effede05da1840f1a0ea1a3ae225249f8719a79be -size 5035637 diff --git a/cargo-0.25.0-x86_64-unknown-linux-gnu.tar.gz b/cargo-0.25.0-x86_64-unknown-linux-gnu.tar.gz deleted file mode 100644 index f85e700..0000000 --- a/cargo-0.25.0-x86_64-unknown-linux-gnu.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:07adc6d5a42760aa7ab6dd1eeae9c13688947710018a1aa13f49dca6eac5dd8b -size 6004007 diff --git a/cargo-0.26.0-aarch64-unknown-linux-gnu.tar.gz b/cargo-0.26.0-aarch64-unknown-linux-gnu.tar.gz new file mode 100644 index 0000000..f364939 --- /dev/null +++ b/cargo-0.26.0-aarch64-unknown-linux-gnu.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d354b4ad21b943f95c96f607af3857c402960a19a2a1ebac6f9f1a6877e4138 +size 4421342 diff --git a/cargo-0.26.0-arm-unknown-linux-gnueabihf.tar.gz b/cargo-0.26.0-arm-unknown-linux-gnueabihf.tar.gz new file mode 100644 index 0000000..c7241e9 --- /dev/null +++ b/cargo-0.26.0-arm-unknown-linux-gnueabihf.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f61e6570da4eb682a150aeca1e58c11a1bd0b0266806bd142ad16939adaea23a +size 5325966 diff --git a/cargo-0.26.0-armv7-unknown-linux-gnueabihf.tar.gz b/cargo-0.26.0-armv7-unknown-linux-gnueabihf.tar.gz new file mode 100644 index 0000000..758d1a9 --- /dev/null +++ b/cargo-0.26.0-armv7-unknown-linux-gnueabihf.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de3fe475b3bcd8b899b2dfcca77887cd27ff9d9477d6adcf447fee8e458938bb +size 5178189 diff --git a/cargo-0.26.0-i686-unknown-linux-gnu.tar.gz b/cargo-0.26.0-i686-unknown-linux-gnu.tar.gz new file mode 100644 index 0000000..5bdb070 --- /dev/null +++ b/cargo-0.26.0-i686-unknown-linux-gnu.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:200c24872796d19e14ecc1a71febc28e7c08b4cde35712e5154ec0d79350f81e +size 5524101 diff --git a/cargo-0.26.0-powerpc64-unknown-linux-gnu.tar.gz b/cargo-0.26.0-powerpc64-unknown-linux-gnu.tar.gz new file mode 100644 index 0000000..3bbc888 --- /dev/null +++ b/cargo-0.26.0-powerpc64-unknown-linux-gnu.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:945014e2e55ebd293680081da6e0587df2300942138a574043c110e435c17091 +size 5171872 diff --git a/cargo-0.26.0-powerpc64le-unknown-linux-gnu.tar.gz b/cargo-0.26.0-powerpc64le-unknown-linux-gnu.tar.gz new file mode 100644 index 0000000..95b0809 --- /dev/null +++ b/cargo-0.26.0-powerpc64le-unknown-linux-gnu.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3f5743555a35e9d5e259cec1733857dea17eecda8b5fac69be4d0a8761ec560 +size 5159492 diff --git a/cargo-0.26.0-s390x-unknown-linux-gnu.tar.gz b/cargo-0.26.0-s390x-unknown-linux-gnu.tar.gz new file mode 100644 index 0000000..7d1555d --- /dev/null +++ b/cargo-0.26.0-s390x-unknown-linux-gnu.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35326fa574e0f581e14d81995b1fe39154aba7a156cc8c968bc1803dc44c2ab6 +size 4587628 diff --git a/cargo-0.26.0-x86_64-unknown-linux-gnu.tar.gz b/cargo-0.26.0-x86_64-unknown-linux-gnu.tar.gz new file mode 100644 index 0000000..944932b --- /dev/null +++ b/cargo-0.26.0-x86_64-unknown-linux-gnu.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ba227f2364f618dc9415dacf3a5dce17458e1cb9f6d4fe860416cb68db894e4 +size 5583405 diff --git a/rust.changes b/rust.changes index b023990..c6eaa4b 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Sat May 12 00:31:05 UTC 2018 - luc14n0@linuxmail.org + +- Update to version 1.26.0: + + Language: + - Closures now implement `Copy` and/or `Clone` if all captured + variables implement either or both traits. + - The inclusive range syntax is now stable. + - Stablise `'_`. The underscore lifetime can be used anywhere + where a lifetime can be elided. + - `impl Trait` is now stable allowing you to have abstract + types in returns or in function parameters. + - Pattern matching will now automatically apply dereferences. + - 128-bit integers in the form of `u128` and `i128` are now + stable. + - `main` can now return `Result<(), E: Debug>` in addition to + `()`. + - A lot of operations are now available in a const context. + - Fixed entry slice patterns are now stable. e.g. + + Compiler: + - LLD is now used as the default linker for `wasm32-unknown-\ + unknown`. + - Fixed exponential projection complexity on nested types. + This can provide up to a ~12% reduction in compile times for + certain crates. + - Added the `--remap-path-prefix` option to rustc. Allowing you + to remap path prefixes outputted by the compiler. + + Libraries: + - Implemented `From for usize & From<{u8, i16}> for + isize`. + - Added hexadecimal formatting for integers with fmt::Debug. + - Implemented `Default, Hash` for `cmp::Reverse`. + - Optimized `str::repeat` being 8x faster in large cases. + - `ascii::escape_default` is now available in libcore. + - Trailing commas are now supported in std and core macros. + - Implemented `Copy, Clone` for `cmp::Reverse`. + - Implemented `Clone` for `char::{ToLowercase, ToUppercase}`. + + Stabilized APIs: *const T::add, + *const T::copy_to_nonoverlapping, *const T::copy_to, + *const T::read_unaligned, *const T::read_volatile, + *const T::read, *const T::sub, *const T::wrapping_add, + *const T::wrapping_sub, *mut T::add, *mut T::copy_to, + *mut T::copy_to_nonoverlapping, *mut T::read_unaligned, + *mut T::read_volatile, *mut T::read, mut T::replace, + *mut T::sub, *mut T::swap, *mut T::wrapping_add, + *mut T::wrapping_sub, *mut T::write_bytes, + *mut T::write_unaligned, *mut T::write_volatile, + *mut T::write, Box::leak, FromUtf8Error::as_bytes, + LocalKey::try_with, Option::cloned, iter::FusedIterator, + btree_map::Entry::and_modify, s::read_to_string, fs::read, + fs::write, hash_map::Entry::and_modify, String::retain, + ops::RangeInclusive, ops::RangeToInclusive, process::id, + slice::rotate_left, slice::rotate_right. + + Compatibility Notes: + - Aliasing a `Fn` trait as `dyn` no longer works. + - The result of dereferences are no longer promoted to + `'static`. + - Deprecate `AsciiExt` trait in favor of inherent methods. + - `".e0"` will now no longer parse as `0.0` and will instead + cause an error. + - Removed hoedown from rustdoc. + - Bounds on higher-kinded lifetimes a hard error. +- Update cargo_version to 0.26.0. + ------------------------------------------------------------------- Thu May 3 08:05:33 UTC 2018 - mmanu84@outlook.de diff --git a/rust.spec b/rust.spec index 4451493..6582790 100644 --- a/rust.spec +++ b/rust.spec @@ -17,8 +17,8 @@ # -%global prev_rust 1.24.1 -%global cargo_version 0.25.0 +%global prev_rust 1.25.0 +%global cargo_version 0.26.0 %global rust_arch %{_arch} %global abi gnu %ifarch armv7hl @@ -45,12 +45,12 @@ %global rustlibdir %{common_libdir}/rustlib %bcond_with rust_bootstrap Name: rust -Version: 1.25.0 +Version: 1.26.0 Release: 0 Summary: A systems programming language License: MIT OR Apache-2.0 Group: Development/Languages/Other -Url: http://www.rust-lang.org +URL: https://www.rust-lang.org Source0: %{dl_url}/rustc-%{version}-src.tar.gz Source1: config.toml Source99: %{name}-rpmlintrc @@ -76,8 +76,8 @@ BuildRequires: python3-base Recommends: %{name}-doc Recommends: %{name}-std Recommends: cargo -Conflicts: rustc-bootstrap Conflicts: rust +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} @@ -228,7 +228,6 @@ find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -exec rm -v '{}' '+' find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -name '*.so' -exec chmod -v +x '{}' '+' # extract bundled licenses for packaging - From fedora spec -cp src/rt/hoedown/LICENSE src/rt/hoedown/LICENSE-hoedown sed -e '/*\//q' src/libbacktrace/backtrace.h > src/libbacktrace/LICENSE-libbacktrace # Remove the license files from _docdir: make install put duplicates there @@ -243,13 +242,11 @@ rm %{buildroot}%{_docdir}/%{name}/{README.md,COPYRIGHT,LICENSE-APACHE,LICENSE-MI %if 0%{?suse_version} == 1315 %doc COPYRIGHT LICENSE-APACHE LICENSE-MIT %doc src/libbacktrace/LICENSE-libbacktrace -%doc src/rt/hoedown/LICENSE-hoedown %else %license COPYRIGHT LICENSE-APACHE LICENSE-MIT %license src/libbacktrace/LICENSE-libbacktrace -%license src/rt/hoedown/LICENSE-hoedown %endif -%doc README.md +%doc CONTRIBUTING.md README.md RELEASES.md %{_bindir}/rustc %{_bindir}/rustdoc %{_bindir}/rust-lldb diff --git a/rustc-1.25.0-src.tar.gz b/rustc-1.25.0-src.tar.gz deleted file mode 100644 index 87bdecc..0000000 --- a/rustc-1.25.0-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eef63a0aeea5147930a366aee78cbde248bb6e5c6868801bdf34849152965d2d -size 98639156 diff --git a/rustc-1.26.0-src.tar.gz b/rustc-1.26.0-src.tar.gz new file mode 100644 index 0000000..a58ad47 --- /dev/null +++ b/rustc-1.26.0-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fb09bc4e233b71dcbe08a37a3f38cabc32219745ec6a628b18a55a1232281dd +size 95383826