summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-30 10:24:22 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-30 10:24:22 +0000
commitb7daae54b78f20677d96b1e9fe0806e7cdf7bc9e (patch)
treea12c0678acd0decbb76892feb63b84a598396f60
parent7fde3c7ffee8847e1ffcae545d1595b51bc00c47 (diff)
automatic import of rtabmap-pythonopeneuler24.03_LTS
-rw-r--r--rtabmap-python.spec6
1 files 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}