From b7daae54b78f20677d96b1e9fe0806e7cdf7bc9e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 30 Mar 2026 10:24:22 +0000 Subject: automatic import of rtabmap-python --- rtabmap-python.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rtabmap-python.spec b/rtabmap-python.spec index 4d47dcf..01747a5 100644 --- a/rtabmap-python.spec +++ b/rtabmap-python.spec @@ -1,4 +1,4 @@ -%bcond_without tests +%bcond_with tests %bcond_without weak_deps %define ros_distro humble @@ -37,7 +37,7 @@ Provides: %{name}-runtime = %{version}-%{release} RTAB-Map's python package. %prep -%autosetup -c -n %{name}-%{version} +%autosetup -n %{RosPkgName}-%{version} -p1 %build @@ -45,7 +45,6 @@ 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 @@ -53,7 +52,6 @@ cd %{RosPkgName}-%{version} # 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} -- cgit v1.2.3