public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: more fixes for archs without openni
@ 2026-06-25 5:49 Karsten Hopp
0 siblings, 0 replies; only message in thread
From: Karsten Hopp @ 2026-06-25 5:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pcl
Branch : f44
Commit : 9cd681810cd0581e667f936715f63ac77e8fdd82
Author : Karsten Hopp <karsten@redhat.com>
Date : 2013-03-08T19:10:41+01:00
Stats : +12/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pcl/c/9cd681810cd0581e667f936715f63ac77e8fdd82?branch=f44
Log:
more fixes for archs without openni
---
diff --git a/pcl.spec b/pcl.spec
index 74ffd55..3106ac3 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -1,6 +1,6 @@
Name: pcl
Version: 1.6.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Library for point cloud processing
Group: System Environment/Libraries
@@ -42,7 +42,10 @@ 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
+Requires: openni-devel
+%endif
%description devel
The %{name}-devel package contains libraries and header files for
@@ -131,9 +134,11 @@ popd
mv doc/tutorials/html doc/tutorials/tutorials
for f in $RPM_BUILD_ROOT%{_bindir}/{openni_image,pcd_grabber_viewer,pcd_viewer,openni_viewer,oni_viewer}; do
- mv $f $RPM_BUILD_ROOT%{_bindir}/pcl_$(basename $f)
+ if [ -f $f ]; then
+ mv $f $RPM_BUILD_ROOT%{_bindir}/pcl_$(basename $f)
+ fi
done
-rm $RPM_BUILD_ROOT%{_bindir}/{openni_fast_mesh,openni_ii_normal_estimation,openni_voxel_grid}
+rm $RPM_BUILD_ROOT%{_bindir}/{openni_fast_mesh,openni_ii_normal_estimation,openni_voxel_grid} ||:
mkdir -p $RPM_BUILD_ROOT%{_libdir}/cmake/pcl
mv $RPM_BUILD_ROOT%{_datadir}/%{name}-*/*.cmake $RPM_BUILD_ROOT%{_libdir}/cmake/pcl
@@ -188,6 +193,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Mar 08 2013 Karsten Hopp <karsten@redhat.com> 1.6.0-4
+- more fixes for archs without openni
+
* Sun Feb 17 2013 Rich Mattes <richmattes@gmail.com> - 1.6.0-3
- Fixed bogus changelog dates
- Fixed build errors due to boost 1.53 and/or gcc 4.8
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-25 5:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 5:49 [rpms/pcl] f44: more fixes for archs without openni Karsten Hopp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox