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:
3
tbb.spec
3
tbb.spec
@@ -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
|
||||
|
Reference in New Issue
Block a user