summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-27 09:31:26 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-27 09:31:26 +0000
commit7fde3c7ffee8847e1ffcae545d1595b51bc00c47 (patch)
treeae2a79392b6816a80440a95c74dd5ca276628845
parent94cf46de21f1562f4e6fc64a7cff50bb2b292c9c (diff)
automatic import of rtabmap-pythonopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--rtabmap-python.spec16
-rw-r--r--sources2
3 files changed, 12 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index fec427c..79b1712 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/ros-humble-rtabmap-python_0.21.5.orig.tar.gz
+/rtabmap-python-0.22.1.tar.gz
diff --git a/rtabmap-python.spec b/rtabmap-python.spec
index 07a1962..4d47dcf 100644
--- a/rtabmap-python.spec
+++ b/rtabmap-python.spec
@@ -1,24 +1,26 @@
%bcond_without tests
%bcond_without weak_deps
+%define ros_distro humble
+
%global debug_package %{nil}
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
%global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$
%global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$
%define RosPkgName rtabmap-python
-%define ros_distro humble
-%define with_tests 0
Name: ros-%{ros_distro}-%{RosPkgName}
-Version: 0.21.5
+Version: 0.22.1
Release: 1%{?dist}%{?release_suffix}
Summary: RTAB-Map's python package.
License: BSD
-Source0: %{name}_%{version}.orig.tar.gz
+Source0: %{RosPkgName}-%{version}.tar.gz
+Requires: ros-%{ros_distro}-ros-workspace
+BuildRequires: ros-%{ros_distro}-ros-workspace
%if 0%{?with_tests}
BuildRequires: ros-%{ros_distro}-ament-copyright
@@ -35,7 +37,7 @@ Provides: %{name}-runtime = %{version}-%{release}
RTAB-Map's python package.
%prep
-%autosetup -p1
+%autosetup -c -n %{name}-%{version}
%build
@@ -43,6 +45,7 @@ RTAB-Map's python package.
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi
+cd %{RosPkgName}-%{version}
%py3_build
%install
@@ -50,6 +53,7 @@ if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setu
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi
+cd %{RosPkgName}-%{version}
%py3_install -- --prefix "/opt/ros/%{ros_distro}"
%if 0%{?with_tests}
@@ -69,5 +73,5 @@ else echo "RPM TESTS SKIPPED"; fi
/opt/ros/%{ros_distro}
%changelog
-* Fri May 23 2025 Mathieu Labbe matlabbe@gmail.com - 0.21.5-1
+* Wed Mar 25 2026 Mathieu Labbe matlabbe@gmail.com - 0.22.1-1
- Autogenerated by ros-porting-tools
diff --git a/sources b/sources
index 7ea0545..c095ea7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8e42a18de8b2647a18686d4e1c7f0506 ros-humble-rtabmap-python_0.21.5.orig.tar.gz
+7f16e4447d320e26a0e7bdd5e65e60af rtabmap-python-0.22.1.tar.gz