Rebase to 2017 update 5.

Also:
- Change version scheme again to match upstream's change.
- New source URL on github.
- Drop upstreamed patch to fix detection of s390x as 64-bit arch.
This commit is contained in:
Jerry James 2017-03-17 14:42:26 -06:00
parent 70685b2258
commit 8d0d043325
4 changed files with 15 additions and 31 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ tbb*/
*.rpm
.*.log
/tbb*.tgz
/*.tar.gz

View File

@ -1 +1 @@
bd71c82574927ce5507abcbcd3be2c1c tbb2017_20161128oss_src.tgz
SHA512 (2017_U5.tar.gz) = d07eeca53138432a4ac20145169907f5271e234bedfb53e0eabbed2b6fafaecdc0a2ad7bdbead205993f822e7c415233cce9afd7575d366c17a117d5cc971a65

View File

@ -1,15 +0,0 @@
diff -up tbb2017_20161128oss/build/linux.inc.s390x tbb2017_20161128oss/build/linux.inc
--- tbb2017_20161128oss/build/linux.inc.s390x 2016-11-29 15:24:54.000000000 +0100
+++ tbb2017_20161128oss/build/linux.inc 2017-01-02 10:28:44.000000000 +0100
@@ -99,7 +99,10 @@ SONAME_SUFFIX =$(shell grep TBB_COMPATIB
ifeq ($(arch),ia64)
def_prefix = lin64ipf
endif
-ifeq ($(arch),sparc s390x)
+ifeq ($(arch),sparc)
+ def_prefix = lin64
+endif
+ifeq ($(arch),s390x)
def_prefix = lin64
endif
ifeq ($(arch),armv7)

View File

@ -1,4 +1,5 @@
%global releasedate 20161128
%global upver 2017
%global uprel 5
%if 0%{?fedora} || 0%{?rhel} >= 8
%global with_python3 1
@ -6,15 +7,13 @@
Name: tbb
Summary: The Threading Building Blocks library abstracts low-level threading details
Version: 2017
Release: 8.%{releasedate}%{?dist}
Version: %{upver}.%{uprel}
Release: 1%{?dist}
License: ASL 2.0
Group: Development/Tools
URL: http://threadingbuildingblocks.org/
%global sourcever %{version}_%{releasedate}oss
Source0: https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/%{name}%{sourcever}_src.tgz
Source0: https://github.com/01org/tbb/archive/%{upver}_U%{uprel}.tar.gz
# These three are downstream sources.
Source6: tbb.pc
Source7: tbbmalloc.pc
@ -35,12 +34,6 @@ Patch2: tbb-4.0-mfence.patch
# Related: https://bugzilla.redhat.com/show_bug.cgi?id=1037347
Patch3: tbb-4.3-dont-snip-Wall.patch
# Fix detection of s390x as 64-bit arch, it affects the version script used
# for symbols in the public library
# Related: https://bugzilla.redhat.com/show_bug.cgi?id=1379632
# Upstream report: https://github.com/01org/tbb/issues/9
Patch4: tbb-2017-64bit.patch
BuildRequires: gcc-c++
BuildRequires: python2-devel
BuildRequires: swig
@ -100,14 +93,13 @@ Python 3 TBB module.
%prep
%setup -q -n %{name}%{sourcever}
%setup -q -n %{name}-%{upver}_U%{uprel}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
# For repeatable builds, don't query the hostname or architecture
sed -i 's/`hostname -s`" ("`uname -m`/fedorabuild" ("%{_arch}/' \
sed -i 's/"`hostname -s`" ("`uname -m`"/fedorabuild (%{_arch}/' \
build/version_info_linux.sh
# Prepare to build the python module for both python 2 and python 3
@ -229,6 +221,12 @@ popd
%endif
%changelog
* Fri Mar 17 2017 Jerry James <loganjerry@gmail.com> - 2017.5-1%{?dist}
- Rebase to 2017 update 5
- Change version scheme again to match upstream's change
- New source URL on github
- Drop upstreamed patch to fix detection of s390x as 64-bit arch
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017-8.20161128
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild