Hello community,
here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-09-04 12:39:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rust (Old)
and /work/SRC/openSUSE:Factory/.rust.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust"
Mon Sep 4 12:39:25 2017 rev:15 rq:520550 version:1.19.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rust/rust.changes 2017-07-19 11:20:00.689110568 +0200
+++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-09-04 12:39:26.877128600 +0200
@@ -1,0 +2,70 @@
+Fri Sep 1 10:14:10 UTC 2017 - luke.nukem.jones@gmail.com
+
+- adjust build process and add package for Rust source
+- clean-up of useless provides
+- add rpmlintrc
+
+-------------------------------------------------------------------
+Tue Aug 8 23:06:44 UTC 2017 - luke.nukem.jones@gmail.com
+
+- Update to version 1.19
+
+- Language updates:
+ + [Numeric fields can now be used for creating tuple structs.][41145] [RFC 1506]
+ For example `struct Point(u32, u32); let x = Point { 0: 7, 1: 0 };`.
+ + [Macro recursion limit increased to 1024 from 64.][41676]
+ + [Added lint for detecting unused macros.][41907]
+ + [`loop` can now return a value with `break`.][42016] [RFC 1624]
+ For example: `let x = loop { break 7; };`
+ + [C compatible `union`s are now available.][42068] [RFC 1444] They can only
+ contain `Copy` types and cannot have a `Drop` implementation.
+ Example: `union Foo { bar: u8, baz: usize }`
+ + [Non capturing closures can now be coerced into `fn`s,][42162] [RFC 1558]
+ Example: `let foo: fn(u8) -> u8 = |v: u8| { v };`
+
+- Compiler updates:
+ + [Add support for bootstrapping the Rust compiler toolchain on Android.][41370]
+ + [Change `arm-linux-androideabi` to correspond to the `armeabi`
+ official ABI.][41656] If you wish to continue targeting the `armeabi-v7a` ABI
+ you should use `--target armv7-linux-androideabi`.
+ + [Fixed ICE when removing a source file between compilation sessions.][41873]
+ + [Minor optimisation of string operations.][42037]
+ + [Compiler error message is now `aborting due to previous error(s)` instead of
+ `aborting due to N previous errors`][42150] This was previously inaccurate and
+ would only count certain kinds of errors.
+ + [The compiler now supports Visual Studio 2017][42225]
+ + [The compiler is now built against LLVM 4.0.1 by default][42948]
+ + [Added a lot][42264] of [new error codes][42302]
+ + [Added `target-feature=+crt-static` option][37406] [RFC 1721] Which allows
+ libraries with C Run-time Libraries(CRT) to be statically linked.
+ + [Fixed various ARM codegen bugs][42740]
+
+- Librarie updates:
+ + [`String` now implements `FromIterator>` and
+ `Extend>`][41449]
+ + [`Vec` now implements `From<&mut [T]>`][41530]
+ + [`Box<[u8]>` now implements `From`][41258]
+ + [`SplitWhitespace` now implements `Clone`][41659]
+ + [`[u8]::reverse` is now 5x faster and `[u16]::reverse` is now
+ 1.5x faster][41764]
+ + [`eprint!` and `eprintln!` macros added to prelude.][41192] Same as the `print!`
+ macros, but for printing to stderr.
+
+- Stabilized APIs
+ + [`OsString::shrink_to_fit`]
+ + [`cmp::Reverse`]
+ + [`Command::envs`]
+ + [`thread::ThreadId`]
+
+- Misc
+ + [Added `rust-windbg.cmd`][39983] for loading rust `.natvis` files in the
+ Windows Debugger.
+ + [Rust will now release XZ compressed packages][rust-installer/57]
+ + [rustup will now prefer to download rust packages with
+ XZ compression][rustup/1100] over GZip packages.
+ + [Added the ability to escape `#` in rust documentation][41785] By adding
+ additional `#`'s ie. `##` is now `#`
+
+- Temporarily disable generation of compiler docs due to build issue
+
+-------------------------------------------------------------------
Old:
----
rustc-1.18.0-src.tar.gz
New:
----
rust-rpmlintrc
rustc-1.19.0-src.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rust.spec ++++++
--- /var/tmp/diff_new_pack.Vk1JWe/_old 2017-09-04 12:39:30.720587860 +0200
+++ /var/tmp/diff_new_pack.Vk1JWe/_new 2017-09-04 12:39:30.724587298 +0200
@@ -17,7 +17,7 @@
#
-%global prev_rust 1.17.0
+%global prev_rust 1.18.0
%global cargo_version 0.18.0
%global abi gnu
%ifarch s390x
@@ -44,9 +44,11 @@
%endif
%global rust_triple %{_arch}-unknown-linux-%{abi}
%global dl_url https://static.rust-lang.org/dist
+%global common_libdir %{_prefix}/lib
+%global rustlibdir %{common_libdir}/rustlib
%bcond_with bootstrap
Name: rust
-Version: 1.18.0
+Version: 1.19.0
Release: 0
Summary: A systems programming language
License: MIT or Apache-2.0
@@ -54,6 +56,7 @@
Url: http://www.rust-lang.org
Source0: %{dl_url}/rustc-%{version}-src.tar.gz
Source1: config.toml
+Source99: %{name}-rpmlintrc
Source100: cargo-%{cargo_version}-x86_64-unknown-linux-gnu.tar.gz
Source101: cargo-%{cargo_version}-i686-unknown-linux-gnu.tar.gz
Source102: cargo-%{cargo_version}-aarch64-unknown-linux-gnu.tar.gz
@@ -120,7 +123,6 @@
%package -n rust-std
Summary: Standard library for Rust
Group: Development/Languages/Other
-Provides: rust-std = %{version}
Conflicts: otherproviders(rust-std)
%description -n rust-std
@@ -130,7 +132,6 @@
%package -n rust-doc
Summary: Rust documentation
Group: Development/Languages/Other
-Provides: rust-doc = %{version}
Conflicts: otherproviders(rust-doc)
%description -n rust-doc
@@ -140,7 +141,6 @@
Summary: Gdb integration for rust binaries
Group: Development/Languages/Other
Supplements: packageand(%{name}:gdb)
-Provides: rust-gdb = %{version}
Provides: rustc:%{_bindir}/rust-gdb
Conflicts: otherproviders(rust-gdb)
@@ -148,6 +148,16 @@
This subpackage provides pretty printers and a wrapper script for
invoking gdb on rust binaries.
+%package -n rust-src
+Summary: Sources for the Rust standard library
+Group: Development/Languages/Other
+BuildArch: noarch
+
+%description -n rust-src
+This package includes source files for the Rust standard library. This
+is commonly used for function detail lookups in helper programs such
+as RLS or racer.
+
%prep
%ifarch x86_64
%setup -q -T -b 100 -n cargo-%{cargo_version}-%{rust_triple}
@@ -184,7 +194,7 @@
sed -e 's:<cargo-bin>:%{cargo_bin}:g' \
-e 's:<rust-triple>:%{rust_triple}:g' \
-e 's:<prefix>:%{_prefix}:g' \
- -e 's:<libdir>:%{_prefix}/lib:g' \
+ -e 's:<libdir>:%{common_libdir}:g' \
-e 's:<mandir>:%{_mandir}:g' \
-e 's:<docdir>:%{_docdir}/%{name}:g' \
%{SOURCE1} > config.toml
@@ -198,11 +208,12 @@
sed -e 's:<cargo-bin>:%{cargo_bin}:g' \
-e 's:<rust-triple>:%{rust_triple}:g' \
-e 's:<prefix>:%{buildroot}%{_prefix}:g' \
- -e 's:<libdir>:%{buildroot}%{_prefix}/lib:g' \
+ -e 's:<libdir>:%{buildroot}%{common_libdir}:g' \
-e 's:<mandir>:%{buildroot}%{_mandir}:g' \
-e 's:<docdir>:%{buildroot}%{_docdir}/%{name}:g' \
%{SOURCE1} > config.toml
-./x.py dist --install
+./x.py install
+./x.py install src
# Fix any rpaths if needed
chrpath -d %{buildroot}%{_prefix}/lib/lib*.so
@@ -211,11 +222,11 @@
chmod -R -x+X %{buildroot}%{_docdir}/%{name}/html
# Remove surplus files
-rm %{buildroot}%{_prefix}/lib/rustlib/components
-rm %{buildroot}%{_prefix}/lib/rustlib/manifest-rust*
-rm %{buildroot}%{_prefix}/lib/rustlib/install.log
-rm %{buildroot}%{_prefix}/lib/rustlib/uninstall.sh
-rm %{buildroot}%{_prefix}/lib/rustlib/rust-installer-version
+rm %{buildroot}%{rustlibdir}/components
+rm %{buildroot}%{rustlibdir}/manifest-rust*
+rm %{buildroot}%{rustlibdir}/install.log
+rm %{buildroot}%{rustlibdir}/uninstall.sh
+rm %{buildroot}%{rustlibdir}/rust-installer-version
# Remove lockfile to avoid errors.
rm %{buildroot}%{_docdir}/%{name}/html/.lock
@@ -250,35 +261,35 @@
%{_mandir}/man1/rustdoc.1*
%{_prefix}/lib/lib*.so
%exclude %{_docdir}/%{name}/html
+%exclude %{rustlibdir}/src
%files -n rust-std
%defattr(-,root,root)
-%dir %{_prefix}/lib/rustlib
-%dir %{_prefix}/lib/rustlib/%{rust_triple}
-%dir %{_prefix}/lib/rustlib/%{rust_triple}/lib
-%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.rlib
-%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.so
+%dir %{rustlibdir}
+%dir %{rustlibdir}/%{rust_triple}
+%dir %{rustlibdir}/%{rust_triple}/lib
+%{rustlibdir}/%{rust_triple}/lib/*.rlib
+%{rustlibdir}/%{rust_triple}/lib/*.so
%files -n rust-gdb
%defattr(-,root,root,-)
%{_bindir}/rust-gdb
-%dir %{_prefix}/lib/rustlib
-%dir %{_prefix}/lib/rustlib/etc
-%{_prefix}/lib/rustlib/etc/debugger_pretty_printers_common.py
-%{_prefix}/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
-%{_prefix}/lib/rustlib/etc/gdb_rust_pretty_printing.py
-%{_prefix}/lib/rustlib/etc/lldb_rust_formatters.py
+%dir %{rustlibdir}
+%dir %{rustlibdir}/etc
+%{rustlibdir}/etc/debugger_pretty_printers_common.py
+%{rustlibdir}/etc/gdb_load_rust_pretty_printers.py
+%{rustlibdir}/etc/gdb_rust_pretty_printing.py
+%{rustlibdir}/etc/lldb_rust_formatters.py
%files -n rust-doc
%defattr(-,root,root)
-%license %{_docdir}/%{name}/html/FiraSans-LICENSE.txt
-%license %{_docdir}/%{name}/html/Heuristica-LICENSE.txt
-%license %{_docdir}/%{name}/html/LICENSE-APACHE.txt
-%license %{_docdir}/%{name}/html/LICENSE-MIT.txt
-%license %{_docdir}/%{name}/html/SourceCodePro-LICENSE.txt
-%license %{_docdir}/%{name}/html/SourceSerifPro-LICENSE.txt
%dir %{_docdir}/%{name}
%dir %{_docdir}/%{name}/html
%doc %{_docdir}/%{name}/html/*
+%files -n rust-src
+%defattr(-,root,root)
+%dir %{rustlibdir}
+%{rustlibdir}/src
+
%changelog
++++++ config.toml ++++++
--- /var/tmp/diff_new_pack.Vk1JWe/_old 2017-09-04 12:39:30.896563102 +0200
+++ /var/tmp/diff_new_pack.Vk1JWe/_new 2017-09-04 12:39:30.900562539 +0200
@@ -24,7 +24,7 @@
rustc = "/usr/bin/rustc"
docs = true
-compiler-docs = true
+compiler-docs = false
# Indicate whether submodules are managed and updated automatically.
submodules = false
@@ -32,9 +32,9 @@
#nodejs = "node"
#python = "python2.7"
-vendor = true #
+vendor = true
-# full-bootstrap = false
+full-bootstrap = false
# Enable a build of the and extended rust tool set which is not only the
# compiler but also tools such as Cargo. This will also produce "combined
++++++ rust-rpmlintrc ++++++
# filters for rust-src
addFilter("devel-file-in-non-devel-package.*/usr/lib/rustlib/src/.*")
addFilter("non-executable-script*./usr/lib/rustlib/src/.*")
# filters for rust-std
# rlib not in elf format
addFilter("binaryinfo-readelf-failed*./usr/lib/rustlib/*.rlib")++++++ rustc-1.18.0-src.tar.gz -> rustc-1.19.0-src.tar.gz ++++++
/work/SRC/openSUSE:Factory/rust/rustc-1.18.0-src.tar.gz /work/SRC/openSUSE:Factory/.rust.new/rustc-1.19.0-src.tar.gz differ: char 5, line 1