From 012930143c80d2334a0a593839c1c99cc6394344d760b6c2f330716a3315815e Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Fri, 11 May 2018 02:31:09 +0000 Subject: [PATCH] Accepting request 605639 from home:mmanu84:rust - Patch disabled * update-config-guess.patch - Update to 1.25.0 - Language changes: + Stabilised `#[repr(align(x))]`.[47006] [RFC 1358] + You can now use nested groups of imports.[47948] e.g. `use std::{fs::File, io::Read, path::{Path, PathBuf}};` + You can now have `|` at the start of a match arm.[47947] e.g. - Compiler changes: + Upgraded to LLVM 6.[47828] + Added `-C lto=val` option.[47521] + Added `i586-unknown-linux-musl` target[47282] - Library changes: + Impl Send for `process::Command` on Unix.[47760] + Impl PartialEq and Eq for `ParseCharError`.[47790] + `UnsafeCell::into_inner` is now safe.[47204] + Implement libstd for CloudABI.[47268] + `Float::{from_bits, to_bits}` is now available in libcore.[46931] + Implement `AsRef` for Component[46985] + Implemented `Write` for `Cursor<&mut Vec>`[46830] + Moved `Duration` to libcore.[46666] - Stabilized APIs + `Location::column` + `ptr::NonNull` - Misc + Rust by example is now shipped with new releases[46196] - Compatibility Notes: + Deprecated `net::lookup_host`.[47510] + `rustdoc` has switched to pulldown as the default markdown renderer.[47398] + The borrow checker was sometimes incorrectly permitting overlapping borrows around indexing operations (see [#47349][47349]). This has been fixed (which also enabled some correct code that used to cause errors (e.g. [#33903][33903] and [#46095][46095]). + Removed deprecated unstable attribute `#[simd]`.[47251] OBS-URL: https://build.opensuse.org/request/show/605639 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=155 --- rust.changes | 37 +++++++++++++++++++++++++++++++++++++ rust.spec | 8 +++++--- rustc-1.24.1-src.tar.gz | 3 --- rustc-1.25.0-src.tar.gz | 3 +++ 4 files changed, 45 insertions(+), 6 deletions(-) delete mode 100644 rustc-1.24.1-src.tar.gz create mode 100644 rustc-1.25.0-src.tar.gz diff --git a/rust.changes b/rust.changes index 727d53a..b023990 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Thu May 3 08:05:33 UTC 2018 - mmanu84@outlook.de + +- Patch disabled + * update-config-guess.patch +- Update to 1.25.0 +- Language changes: + + Stabilised `#[repr(align(x))]`.[47006] [RFC 1358] + + You can now use nested groups of imports.[47948] + e.g. `use std::{fs::File, io::Read, path::{Path, PathBuf}};` + + You can now have `|` at the start of a match arm.[47947] e.g. +- Compiler changes: + + Upgraded to LLVM 6.[47828] + + Added `-C lto=val` option.[47521] + + Added `i586-unknown-linux-musl` target[47282] +- Library changes: + + Impl Send for `process::Command` on Unix.[47760] + + Impl PartialEq and Eq for `ParseCharError`.[47790] + + `UnsafeCell::into_inner` is now safe.[47204] + + Implement libstd for CloudABI.[47268] + + `Float::{from_bits, to_bits}` is now available in libcore.[46931] + + Implement `AsRef` for Component[46985] + + Implemented `Write` for `Cursor<&mut Vec>`[46830] + + Moved `Duration` to libcore.[46666] +- Stabilized APIs + + `Location::column` + + `ptr::NonNull` +- Misc + + Rust by example is now shipped with new releases[46196] +- Compatibility Notes: + + Deprecated `net::lookup_host`.[47510] + + `rustdoc` has switched to pulldown as the default markdown renderer.[47398] + + The borrow checker was sometimes incorrectly permitting overlapping borrows + around indexing operations (see [#47349][47349]). This has been fixed (which also + enabled some correct code that used to cause errors (e.g. [#33903][33903] and [#46095][46095]). + + Removed deprecated unstable attribute `#[simd]`.[47251] + ------------------------------------------------------------------- Thu Mar 22 13:54:53 UTC 2018 - mmanu84@outlook.de diff --git a/rust.spec b/rust.spec index d7f2d12..4451493 100644 --- a/rust.spec +++ b/rust.spec @@ -17,7 +17,7 @@ # -%global prev_rust 1.24.0 +%global prev_rust 1.24.1 %global cargo_version 0.25.0 %global rust_arch %{_arch} %global abi gnu @@ -45,7 +45,7 @@ %global rustlibdir %{common_libdir}/rustlib %bcond_with rust_bootstrap Name: rust -Version: 1.24.1 +Version: 1.25.0 Release: 0 Summary: A systems programming language License: MIT OR Apache-2.0 @@ -181,7 +181,7 @@ as RLS or racer. %global cargo_bin %{_builddir}/cargo-%{cargo_version}-%{rust_triple}/cargo/bin/cargo %setup -q -n rustc-%{version}-src -%patch0 -p1 +# %patch0 -p1 sed -e 's::%{cargo_bin}:g' \ -e 's::%{rust_triple}:g' \ -e 's::%{_prefix}:g' \ @@ -262,7 +262,9 @@ rm %{buildroot}%{_docdir}/%{name}/{README.md,COPYRIGHT,LICENSE-APACHE,LICENSE-MI %files -n rust-std %dir %{rustlibdir} %dir %{rustlibdir}/%{rust_triple} +%dir %{rustlibdir}/%{rust_triple}/codegen-backends %dir %{rustlibdir}/%{rust_triple}/lib +%{rustlibdir}/%{rust_triple}/codegen-backends/librustc_trans-llvm.so %{rustlibdir}/%{rust_triple}/lib/*.rlib %{rustlibdir}/%{rust_triple}/lib/*.so diff --git a/rustc-1.24.1-src.tar.gz b/rustc-1.24.1-src.tar.gz deleted file mode 100644 index a4b842b..0000000 --- a/rustc-1.24.1-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ea53d45e8d2e9a41afb3340cf54b9745f845b552d802d607707cf04450761ef -size 67512394 diff --git a/rustc-1.25.0-src.tar.gz b/rustc-1.25.0-src.tar.gz new file mode 100644 index 0000000..87bdecc --- /dev/null +++ b/rustc-1.25.0-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eef63a0aeea5147930a366aee78cbde248bb6e5c6868801bdf34849152965d2d +size 98639156