diff --git a/0001-Fix-armv7-autodetection.patch b/0001-Fix-armv7-autodetection.patch deleted file mode 100644 index be82106..0000000 --- a/0001-Fix-armv7-autodetection.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 10ce90fca20fce776b8bdad504a5e3b915ded99f Mon Sep 17 00:00:00 2001 -From: "Matwey V. Kornilov" -Date: Sun, 30 Oct 2016 11:26:25 +0300 -Subject: [PATCH 1/2] Fix armv7 autodetection - -armv7l is armv7 architecture and CFG_CPUTYPE should be armv7 in order to end up -with armv7-unknown-linux-gnueabihf.mk rather than -arm-unknown-linux-gnueabihf.mk ---- - configure | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure b/configure -index 2bc8c72..d62084c 100755 ---- a/configure -+++ b/configure -@@ -508,7 +508,7 @@ case $CFG_CPUTYPE in - ;; - - armv7l) -- CFG_CPUTYPE=arm -+ CFG_CPUTYPE=armv7 - CFG_OSTYPE="${CFG_OSTYPE}eabihf" - ;; - --- -2.1.4 - diff --git a/rust.changes b/rust.changes index e2da880..0a136d5 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Fri Dec 23 08:22:26 UTC 2016 - luke.nukem.jones@gmail.com + +- Remove patch 0001-Fix-armv7-autodetection.patch + + appears to have been fixed upstream. +- Building armv7hl arch with bootstrap binary since previously + packaged versions haven't successfully built in the past + +------------------------------------------------------------------- +Fri Dec 23 07:57:24 UTC 2016 - luke.nukem.jones@gmail.com + +- Update to version 1.14.0 + + Announcement: https://blog.rust-lang.org/2016/12/22/Rust-1.14.html + + Details: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1140-2016-12-22 +- Release highlights: + + support for RFC 1492. This small addition lets you use `..` + in more places, for example when destructuring a struct or tuple + + println!(), with no arguments, prints newline + + Wrapping impls standard binary and unary operators on + references, as well as the Sum and Product iterators, making + references to these types easier to use + + Implement From> for String and From> for + Vec. These implementations make sense, but were not yet added. + + Expand .zip() specialization to .map() and .cloned() for + improved performance. + + Implement RefUnwindSafe for atomic types, as these types are + “unwind safe,” though that wasn’t obvious at first. + + Specialize Vec::extend to Vec::extend_from_slice for + performance gains. + + Don’t reuse HashMap random seeds. This helps to mitigate one + type of DDoS attack. + + The internal memory layout of HashMap is more cache-friendly, + for significant improvements in some operations + + Impl Add<{str, Cow}> for Cow. We already support Add + for other string types, so not having it on Cow is inconsistent. + ------------------------------------------------------------------- Sun Dec 18 09:27:44 UTC 2016 - luke.nukem.jones@gmail.com diff --git a/rust.spec b/rust.spec index 9b0b1a1..1ef5c94 100644 --- a/rust.spec +++ b/rust.spec @@ -16,10 +16,10 @@ # -%global prev_version 1.12.1 +%global prev_version 1.13.0 %bcond_with bootstrap Name: rust -Version: 1.13.0 +Version: 1.14.0 Release: 0 Summary: A systems programming language License: MIT or Apache-2.0 @@ -29,8 +29,6 @@ Source0: https://static.rust-lang.org/dist/rustc-%{version}-src.tar.gz Source100: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE: Set DT_SONAME when building dylibs Patch1: add-soname.patch -# PATCH-FIX-UPSTREAM build armv7 on armv7 -Patch2: 0001-Fix-armv7-autodetection.patch BuildRequires: cmake BuildRequires: curl BuildRequires: gcc-c++ @@ -52,9 +50,15 @@ BuildRequires: fdupes BuildRequires: rustc-bootstrap <= %{prev_version} BuildRequires: rustc-bootstrap >= %{prev_version} %else +%ifnarch armv7hl BuildRequires: rust <= %{version} BuildRequires: rust >= %{prev_version} %endif +%ifarch armv7hl +BuildRequires: rustc-bootstrap <= %{prev_version} +BuildRequires: rustc-bootstrap >= %{prev_version} +%endif +%endif %description Rust is a systems programming language focused on three goals: @@ -97,20 +101,9 @@ Provides: rustc-1_10-gdb <= %{version} This subpackage provides pretty printers and a wrapper script for invoking gdb on rust binaries. -%if %{with bootstrap_tarball} -%package bootstrap-tarball -Summary: Bootstrap tarball with rust binaries -Group: Development/Languages/Other - -%description bootstrap-tarball -This subpackage provides tarball with rust binaries used for rust-bootstrap -package. -%endif - %prep %setup -q -n rustc-%{version} %patch1 -p1 -%patch2 -p1 %build export CPPFLAGS="%{optflags}" # eliminate complain from RPMlint diff --git a/rustc-1.13.0-src.tar.gz b/rustc-1.13.0-src.tar.gz deleted file mode 100644 index 4a50a79..0000000 --- a/rustc-1.13.0-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecb84775ca977a5efec14d0cad19621a155bfcbbf46e8050d18721bb1e3e5084 -size 27483805 diff --git a/rustc-1.14.0-src.tar.gz b/rustc-1.14.0-src.tar.gz new file mode 100644 index 0000000..313364c --- /dev/null +++ b/rustc-1.14.0-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c790edd2e915bd01bea46122af2942108479a2fda9a6f76d1094add520ac3b6b +size 27572650