- Update to version 44_20160128:

* Lots of changes, see the CHANGES file.
- Drop tbb-4.0-cas.patch, fixed upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=6
This commit is contained in:
Ismail Dönmez
2016-05-04 10:55:21 +00:00
committed by Git OBS Bridge
parent 6a04b9fe10
commit 1fada0345a
5 changed files with 15 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package tbb
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -17,19 +17,16 @@
%define so_ver 2
Name: tbb
Version: 41_20130116
Version: 44_20160128
Release: 0
License: GPL-2.0
Summary: Threading Building Blocks (TBB)
Url: http://threadingbuildingblocks.org/
License: GPL-2.0
Group: System/Libraries
Source0: http://threadingbuildingblocks.org/sites/default/files/software_releases/source/%{name}%{version}oss_src.tgz
Url: http://threadingbuildingblocks.org/
Source0: https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb%{version}oss_src_0.tgz
# PATCH-FIX-OPENSUSE optflags.patch -- Use rpm optflags
Patch0: optflags.patch
# PATCH-FIX-UPSTREAM tbb-4.0-cas.patch asterios.dramis@gmail.com -- Fix build on PowerPC, http://software.intel.com/en-us/forums/showthread.php?t=106373 (taken from Fedora)
Patch1: tbb-4.0-cas.patch
BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 x86_64 ppc ppc64
@@ -90,7 +87,6 @@ This package contains the header files needed for development with tbb.
%prep
%setup -q -n %{name}%{version}oss
%patch0
%patch1 -p1
%build
make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj
@@ -111,11 +107,8 @@ pushd build/obj_release
popd
%post -n libtbb%{so_ver} -p /sbin/ldconfig
%postun -n libtbb%{so_ver} -p /sbin/ldconfig
%post -n libtbbmalloc%{so_ver} -p /sbin/ldconfig
%postun -n libtbbmalloc%{so_ver} -p /sbin/ldconfig
%files -n libtbb%{so_ver}