summaryrefslogtreecommitdiff
path: root/rtabmap-slam.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-30 14:29:49 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-30 14:29:49 +0000
commit9f81ba213ea3410ff810cdef337b6a11d044a890 (patch)
tree9c2e6e47ea5564abcee60e8546c4160cf8342fea /rtabmap-slam.spec
parent91b737ac817ab8db7b75027bd7138a254ef71c8a (diff)
automatic import of rtabmap-slam
Diffstat (limited to 'rtabmap-slam.spec')
-rw-r--r--rtabmap-slam.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/rtabmap-slam.spec b/rtabmap-slam.spec
index ed952c8..f4d444a 100644
--- a/rtabmap-slam.spec
+++ b/rtabmap-slam.spec
@@ -1,4 +1,4 @@
-%bcond_without tests
+%bcond_with tests
%bcond_without weak_deps
%define ros_distro humble
@@ -70,7 +70,7 @@ Provides: %{name}-runtime = %{version}-%{release}
RTAB-Map's SLAM package.
%prep
-%autosetup -c -n %{name}-%{version}
+%autosetup -n %{RosPkgName}-%{version} -p1
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.
@@ -94,9 +94,9 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
%if !0%{?with_tests}
-DBUILD_TESTING=OFF \
%endif
- ../%{RosPkgName}-%{version}
+ ..
-%make_build
+make -j1
%install
# Needed to bootstrap since the ros_workspace package does not yet exist.