[pcl/el6] Removed explicit Requires for openni-devel on non-x86
rmattes
rmattes at fedoraproject.org
Tue Oct 16 12:08:44 UTC 2012
commit b980749a45d4d85c50f70f133e46807bb91b6181
Author: Rich Mattes <richmattes at gmail.com>
Date: Tue Oct 16 08:07:37 2012 -0400
Removed explicit Requires for openni-devel on non-x86
Non-x86 architectures and rhel don't supply a version of openni that
works with pcl.
pcl.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/pcl.spec b/pcl.spec
index 638adbe..94c3dcb 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -1,6 +1,6 @@
Name: pcl
Version: 1.6.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Library for point cloud processing
Group: System Environment/Libraries
@@ -51,7 +51,12 @@ Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
-Requires: eigen3-devel, qhull-devel, openni-devel, cminpack-devel, flann-devel, vtk-devel
+Requires: eigen3-devel, qhull-devel, cminpack-devel, flann-devel, vtk-devel
+%ifarch %{ix86} x86_64
+%if ! 0%{?rhel}
+Requires: openni-devel
+%endif
+%endif
%description devel
The %{name}-devel package contains libraries and header files for
@@ -206,6 +211,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Oct 16 2012 Rich Mattes <richmattes at gmail.com> - 1.6.0-3
+- Remove explicit Requires on openni-devel for non-x86
+
* Sun Oct 14 2012 Rich Mattes <richmattes at gmail.com> - 1.6.0-2
- Use cmake28 on el6
- Disable openni on el6 for now
More information about the scm-commits
mailing list