[flann] TBB is available only on selected arches
Dan Horák
sharkcz at fedoraproject.org
Wed Oct 10 07:48:43 UTC 2012
commit 88cb758f22652bc453fd439d47f46d3a683e2cfd
Author: Dan Horák <dan at danny.cz>
Date: Wed Oct 10 09:48:39 2012 +0200
TBB is available only on selected arches
flann.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/flann.spec b/flann.spec
index 334b1cd..3fbe6a9 100644
--- a/flann.spec
+++ b/flann.spec
@@ -4,7 +4,7 @@
Name: flann
Version: 1.7.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Fast Library for Approximate Nearest Neighbors
Group: Development/Libraries
@@ -27,8 +27,10 @@ BuildRequires: zlib-devel
%if 0%{?fedora}
BuildRequires: hdf5-devel
BuildRequires: gtest-devel
+%ifarch %{ix86} x86_64 ia64 ppc ppc64
BuildRequires: tbb-devel
%endif
+%endif
%if 0%{?rhel} >= 6 || 0%{?fedora}
BuildRequires: python-devel
@@ -136,6 +138,9 @@ rm -rf %{buildroot}
%{python_sitearch}/flann-%{version}*.egg-info
%changelog
+* Wed Oct 10 2012 Dan Horák <dan[at]danny.cz> - 1.7.1-5
+- TBB is available only on selected arches
+
* Fri Sep 28 2012 Rich Mattes <richmattes at gmail.com> - 1.7.1-4
- Enabled tbb support
More information about the scm-commits
mailing list