diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-03-27 09:31:26 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-03-27 09:31:26 +0000 |
| commit | 7fde3c7ffee8847e1ffcae545d1595b51bc00c47 (patch) | |
| tree | ae2a79392b6816a80440a95c74dd5ca276628845 | |
| parent | 94cf46de21f1562f4e6fc64a7cff50bb2b292c9c (diff) | |
automatic import of rtabmap-pythonopeneuler24.03_LTS
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | rtabmap-python.spec | 16 | ||||
| -rw-r--r-- | sources | 2 |
3 files changed, 12 insertions, 7 deletions
@@ -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 @@ -1 +1 @@ -8e42a18de8b2647a18686d4e1c7f0506 ros-humble-rtabmap-python_0.21.5.orig.tar.gz +7f16e4447d320e26a0e7bdd5e65e60af rtabmap-python-0.22.1.tar.gz |
