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

Add reproducible.patch to not add build hostname+kernel to binary

OBS-URL: https://build.opensuse.org/request/show/499630
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=31
This commit is contained in:
2017-05-30 10:07:37 +00:00
committed by Git OBS Bridge
parent e0214c6d6b
commit 23b9802bd7
3 changed files with 25 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ Url: https://www.threadingbuildingblocks.org/
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
BuildRequires: gcc-c++
BuildRequires: python-devel
BuildRequires: swig >= 3.0.6
@@ -89,6 +91,7 @@ This package contains the header files needed for development with tbb.
%prep
%setup -q -n %{name}-%{rel_ver}
%patch1 -p1
%patch2 -p1
%build
make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj