Hello community,
here is the log from the commit of package tbb for openSUSE:Factory checked in at 2019-04-30 12:55:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tbb (Old)
and /work/SRC/openSUSE:Factory/.tbb.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tbb"
Tue Apr 30 12:55:32 2019 rev:16 rq:697786 version:2019_20190320
Changes:
--------
--- /work/SRC/openSUSE:Factory/tbb/tbb.changes 2018-09-11 17:09:40.312117974 +0200
+++ /work/SRC/openSUSE:Factory/.tbb.new.5536/tbb.changes 2019-04-30 12:55:34.806197171 +0200
@@ -1,0 +2,7 @@
+Thu Apr 25 07:56:20 UTC 2019 - Ismail Dönmez
+
+- Update to version 2019_U5
+ * Too many changes to list, please see the included CHANGES file.
+- Install TBBConfig*.cmake
+
+-------------------------------------------------------------------
Old:
----
2018_U2.tar.gz
New:
----
2019_U5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tbb.spec ++++++
--- /var/tmp/diff_new_pack.neBvSa/_old 2019-04-30 12:55:35.234197590 +0200
+++ /var/tmp/diff_new_pack.neBvSa/_new 2019-04-30 12:55:35.238197594 +0200
@@ -1,7 +1,7 @@
#
# spec file for package tbb
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define rel_ver 2018_U2
+%define rel_ver 2019_U5
%define so_ver 2
%bcond_without python2
%bcond_without python3
Name: tbb
-Version: 2018_20171205
+Version: 2019_20190320
Release: 0
Summary: Threading Building Blocks (TBB)
License: Apache-2.0
Group: Development/Libraries/C and C++
Url: https://www.threadingbuildingblocks.org/
-Source0: https://github.com/01org/tbb/archive/2018_U2.tar.gz
+Source0: https://github.com/01org/tbb/archive/%{rel_ver}.tar.gz
# PATCH-FIX-OPENSUSE optflags.patch -- Use rpm optflags
Patch1: optflags.patch
# PATCH-FIX-OPENSUSE reproducible.patch -- Do not compile build hostname+kernel into binary
Patch2: reproducible.patch
# PATCH-FIX-OPENSUSE disable-irml.patch -- Don't try to link to irml
Patch3: disable-irml.patch
+BuildRequires: cmake
BuildRequires: gcc-c++
%if %{with python2}
BuildRequires: python2-devel
@@ -157,6 +158,14 @@
done
popd
+mkdir -p %{buildroot}%{_libdir}/cmake/TBB
+# Build cmake config files
+cmake -DTBB_ROOT=. -DTBB_OS=Linux -DSAVE_TO=. -P cmake/tbb_config_generator.cmake
+# Fix library path
+sed -i s,"get_filename_component(_tbb_lib_path.*","get_filename_component(_tbb_lib_path %{_libdir} ABSOLUTE)", TBBConfig.cmake
+install -pm 0644 TBBConfig.cmake %{buildroot}%{_libdir}/cmake/TBB
+install -pm 0644 TBBConfigVersion.cmake %{buildroot}%{_libdir}/cmake/TBB
+
%if %{with python2}
pushd python
%python2_install
@@ -192,9 +201,10 @@
%{_libdir}/libtbbmalloc_proxy.so.%{so_ver}*
%files devel
-%doc CHANGES LICENSE index.html
-%doc doc/Release_Notes.txt doc/html/
+%license LICENSE
+%doc CHANGES doc/Release_Notes.txt
%{_includedir}/tbb/
+%{_libdir}/cmake/TBB
%{_libdir}/libtbb.so
%{_libdir}/libtbbmalloc.so
%{_libdir}/libtbbmalloc_proxy.so
++++++ 2018_U2.tar.gz -> 2019_U5.tar.gz ++++++
++++ 88721 lines of diff (skipped)
++++++ optflags.patch ++++++
--- /var/tmp/diff_new_pack.neBvSa/_old 2019-04-30 12:55:35.718198063 +0200
+++ /var/tmp/diff_new_pack.neBvSa/_new 2019-04-30 12:55:35.718198063 +0200
@@ -1,8 +1,8 @@
-Index: tbb44_20160128oss/build/linux.gcc.inc
+Index: tbb-2019_U5/build/linux.gcc.inc
===================================================================
---- tbb44_20160128oss.orig/build/linux.gcc.inc
-+++ tbb44_20160128oss/build/linux.gcc.inc
-@@ -54,7 +54,7 @@ ifneq (,$(shell gcc -dumpversion | egrep
+--- tbb-2019_U5.orig/build/linux.gcc.inc
++++ tbb-2019_U5/build/linux.gcc.inc
+@@ -69,7 +69,7 @@ ifneq (,$(shell $(CONLY) -dumpversion |
endif
ifeq ($(cfg), release)