public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karsten Hopp <karsten@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pcl] f44: more fixes for archs without openni
Date: Thu, 25 Jun 2026 05:49:11 GMT	[thread overview]
Message-ID: <178236655114.1.18371449032489820918.rpms-pcl-9cd681810cd0@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-25  5:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178236655114.1.18371449032489820918.rpms-pcl-9cd681810cd0@fedoraproject.org \
    --to=karsten@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox