Accepting request 631209 from home:bmwiedemann:branches:devel:libraries:c_c++

Extend reproducible.patch to not capture build kernel version (boo#1101107).

Also filed upstream https://github.com/01org/tbb/pull/82

OBS-URL: https://build.opensuse.org/request/show/631209
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=47
This commit is contained in:
Ismail Dönmez 2018-08-24 08:20:04 +00:00 committed by Git OBS Bridge
parent ee995399fb
commit 1be55c59e3
2 changed files with 21 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Index: tbb-2018/build/version_info_linux.sh
Index: tbb-2018_U2/build/version_info_linux.sh
===================================================================
--- tbb-2018.orig/build/version_info_linux.sh
+++ tbb-2018/build/version_info_linux.sh
--- tbb-2018_U2.orig/build/version_info_linux.sh
+++ tbb-2018_U2/build/version_info_linux.sh
@@ -20,10 +20,10 @@
# Script used to generate version info string
@ -21,3 +21,16 @@ Index: tbb-2018/build/version_info_linux.sh
echo ""
-echo "#define __TBB_DATETIME \""`date -u`"\""
+echo "#define __TBB_DATETIME \""`date -u -r $(dirname $0)/../CHANGES`"\""
Index: tbb-2018_U2/build/linux.inc
===================================================================
--- tbb-2018_U2.orig/build/linux.inc
+++ tbb-2018_U2/build/linux.inc
@@ -61,7 +61,7 @@ endif
ifndef runtime
export gcc_version:=$(shell gcc -dumpversion)
os_version:=$(shell uname -r)
- os_kernel_version:=$(shell uname -r | sed -e 's/-.*$$//')
+ os_kernel_version:=4.0
export os_glibc_version_full:=$(shell getconf GNU_LIBC_VERSION | grep glibc | sed -e 's/^glibc //')
os_glibc_version:=$(shell echo "$(os_glibc_version_full)" | sed -e '2,$$d' -e 's/-.*$$//')
export runtime:=cc$(gcc_version)_libc$(os_glibc_version)_kernel$(os_kernel_version)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 24 04:10:21 UTC 2018 - bwiedemann@suse.com
- Extend reproducible.patch to not capture build kernel version (boo#1101107)
-------------------------------------------------------------------
Wed Aug 1 04:32:27 UTC 2018 - bwiedemann@suse.com