From 7141b73d4dce8eb4fa47e84bdfa0d16afe0a43ae Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 12 Jan 2014 14:30:52 +0000 Subject: [PATCH] Build on aarch64, minor spec cleanups --- tbb.spec | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/tbb.spec b/tbb.spec index f4922ca..ae4f846 100644 --- a/tbb.spec +++ b/tbb.spec @@ -7,15 +7,15 @@ %define sourcefilename %{sourcebasename}_src.tgz +Name: tbb Summary: The Threading Building Blocks library abstracts low-level threading details -Name: tbb Version: %{dotver} -Release: 5.%{releasedate}%{?dist} +Release: 6.%{releasedate}%{?dist} License: GPLv2 with exceptions -Group: Development/Tools -URL: http://threadingbuildingblocks.org/ -Source0: http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_20130314oss_src.tgz +Group: Development/Tools +URL: http://threadingbuildingblocks.org/ +Source0: http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_20130314oss_src.tgz # These two are downstream sources. Source6: tbb.pc Source7: tbbmalloc.pc @@ -35,9 +35,8 @@ Patch2: tbb-4.0-mfence.patch # Related: https://bugzilla.redhat.com/show_bug.cgi?id=1037347 Patch3: tbb-4.1-dont-snip-Wall.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libstdc++-devel -ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 %{arm} +ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 %{arm} aarch64 %description Threading Building Blocks (TBB) is a C++ runtime library that @@ -84,7 +83,6 @@ for file in %{SOURCE6} %{SOURCE7} %{SOURCE8}; do done %install -rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_libdir} mkdir -p $RPM_BUILD_ROOT/%{_includedir} @@ -110,27 +108,24 @@ done %postun -p /sbin/ldconfig -%clean -rm -rf ${RPM_BUILD_ROOT} - %files -%defattr(-,root,root,-) %doc COPYING doc/Release_Notes.txt %{_libdir}/*.so.2 %files devel -%defattr(-,root,root,-) %doc CHANGES %{_includedir}/tbb %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files doc -%defattr(-,root,root,-) %doc doc/Release_Notes.txt %doc doc/html %changelog +* Sun Jan 12 2014 Peter Robinson 4.1-6.20130314 +- Build on aarch64, minor spec cleanups + * Tue Dec 3 2013 Petr Machata - 4.1-5.20130314 - Fix building with -Werror=format-security (tbb-4.1-dont-snip-Wall.patch)