[pcl] openni is exclusive for x86

Dan Horák sharkcz at fedoraproject.org
Sun Jan 8 16:33:50 UTC 2012


commit 16e130ca9a4ea96a5c881a4a64a10bc20409351d
Author: Dan Horák <dan at danny.cz>
Date:   Sun Jan 8 17:33:42 2012 +0100

    openni is exclusive for x86

 pcl.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/pcl.spec b/pcl.spec
index 100aec9..50bdfa7 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -1,6 +1,6 @@
 Name:           pcl
 Version:        1.3.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Library for point cloud processing
 
 Group:          System Environment/Libraries
@@ -23,7 +23,10 @@ BuildRequires:  tetex-latex
 # mandatory
 BuildRequires:  eigen3-devel, flann-devel, cminpack-devel, vtk-devel, gl2ps-devel
 # optional
-BuildRequires:  qhull-devel, openni-devel, libusb1-devel, gtest-devel
+BuildRequires:  qhull-devel, libusb1-devel, gtest-devel
+%ifarch %{ix86} x86_64
+BuildRequires:  openni-devel
+%endif
 
 %description
 The Point Cloud Library (or PCL) is a large scale, open project for point
@@ -175,6 +178,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Jan 08 2012 Dan Horák <dan[at]danny.cz> - 1.3.1-3
+- openni is exclusive for x86
+
 * Fri Dec 23 2011 Tim Niemueller <tim at niemueller.de> - 1.3.1-2
 - Make sure documentation is not in main package
 


More information about the scm-commits mailing list