Accepting request 446876 from home:luke_nukem:branches:devel:languages:rust

Update to 1.12.1

OBS-URL: https://build.opensuse.org/request/show/446876
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=19
This commit is contained in:
Luke Jones 2016-12-18 08:17:52 +00:00 committed by Git OBS Bridge
parent 0e4a38e467
commit 7324b477db
6 changed files with 17 additions and 68 deletions

View File

@ -1,29 +0,0 @@
From 9b81f3c81b6340221f9713afa9ead070086d7314 Mon Sep 17 00:00:00 2001
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
Date: Sun, 30 Oct 2016 11:27:58 +0300
Subject: [PATCH 2/2] Add armv6l autodetection
Use arm-unknown-linux-gnueabihf for hardware floating point armv6 variant
---
configure | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure b/configure
index d62084c..4e62e49 100755
--- a/configure
+++ b/configure
@@ -507,6 +507,11 @@ case $CFG_CPUTYPE in
CFG_CPUTYPE=arm
;;
+ armv6l)
+ CFG_CPUTYPE=arm
+ CFG_OSTYPE="${CFG_OSTYPE}eabihf"
+ ;;
+
armv7l)
CFG_CPUTYPE=armv7
CFG_OSTYPE="${CFG_OSTYPE}eabihf"
--
2.1.4

View File

@ -1,25 +0,0 @@
From 99735fbdb242e1d853456913266944ff6e1f24f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se>
Date: Wed, 6 Jul 2016 13:07:37 +0200
Subject: [PATCH] Disable embedding timestamp information
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/llvm/CMakeLists.txt b/src/llvm/CMakeLists.txt
index 4dd43e7..de5e766 100644
--- a/src/llvm/CMakeLists.txt
+++ b/src/llvm/CMakeLists.txt
@@ -230,7 +230,7 @@ set(LLVM_EXPERIMENTAL_TARGETS_TO_BUILD ""
option(BUILD_SHARED_LIBS
"Build all libraries as shared libraries instead of static" OFF)
-option(LLVM_ENABLE_TIMESTAMPS "Enable embedding timestamp information in build" ON)
+option(LLVM_ENABLE_TIMESTAMPS "Enable embedding timestamp information in build" OFF)
if(LLVM_ENABLE_TIMESTAMPS)
set(ENABLE_TIMESTAMPS 1)
endif()
--
2.9.0

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Dec 18 02:41:25 UTC 2016 - luke.nukem.jones@gmail.com
- Update to 1.12.1
- Remove patches:
+ 0003-Disable-embedding-timestamp-information.patch - fixed
by upstream
+ 0002-Add-armv6l-autodetection.patch - no-longer viable
-------------------------------------------------------------------
Fri Dec 16 23:27:42 UTC 2016 - luke.nukem.jones@gmail.com

View File

@ -16,10 +16,10 @@
#
%global prev_version 1.10.0
%bcond_without bootstrap
%global prev_version 1.11.0
%bcond_with bootstrap
Name: rust
Version: 1.11.0
Version: 1.12.1
Release: 0
Summary: A systems programming language
License: MIT or Apache-2.0
@ -27,14 +27,10 @@ Group: Development/Languages/Other
Url: http://www.rust-lang.org
Source0: https://static.rust-lang.org/dist/rustc-%{version}-src.tar.gz
Source100: %{name}-rpmlintrc
# PATCH-FIX-OPENSUSE: Disable embedding timestamp information
Patch1: 0003-Disable-embedding-timestamp-information.patch
# PATCH-FIX-OPENSUSE: Set DT_SONAME when building dylibs
Patch2: add-soname.patch
Patch1: add-soname.patch
# PATCH-FIX-UPSTREAM build armv7 on armv7
Patch3: 0001-Fix-armv7-autodetection.patch
# PATCH-FIX-UPSTREAM build arm on armv6
Patch4: 0002-Add-armv6l-autodetection.patch
Patch2: 0001-Fix-armv7-autodetection.patch
BuildRequires: cmake
BuildRequires: curl
BuildRequires: gcc-c++
@ -115,8 +111,6 @@ package.
%setup -q -n rustc-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
export CPPFLAGS="%{optflags}" # eliminate complain from RPMlint

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3685034a78e70637bdfa3117619f759f2481002fd9abbc78cc0f737c9974de6a
size 26126471

3
rustc-1.12.1-src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97913ae4cb255618aaacd1a534b11f343634b040b32656250d09d8d9ec02d3dc
size 27511443