From 001316841e88cf9ed0e3da77443a84479e77651c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 16 Sep 2026 12:24:49 +0000 Subject: automatic import of ros-humble-pointcloud-to-ply --- pointcloud-to-ply.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pointcloud-to-ply.spec b/pointcloud-to-ply.spec index 03af709..4c6c3de 100644 --- a/pointcloud-to-ply.spec +++ b/pointcloud-to-ply.spec @@ -26,6 +26,7 @@ BuildRequires: ros-%{ros_distro}-sensor-msgs BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip +BuildRequires: python3-wheel BuildRequires: python3-numpy # 所有 ROS 包强制 @@ -50,7 +51,8 @@ Subscribe to a PointCloud2 topic, reconstruct a mesh, and save to OBJ/PLY. source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} -%{__python3} -m pip wheel --no-deps --no-build-isolation -w dist . +mkdir -p dist +%{__python3} setup.py bdist_wheel --dist-dir dist %install source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true -- cgit v1.2.3