summaryrefslogtreecommitdiff
path: root/rtabmap-ros.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-31 02:53:09 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-31 02:53:09 +0000
commitff6121f10da88978f7d717390658a63c1d161e8e (patch)
tree086095a2278bb2a2a6f07f5993e328ea91047ed4 /rtabmap-ros.spec
parentb0de00626b85b33c1caba5218b7d0c40e335f19d (diff)
automatic import of rtabmap-rosopeneuler24.03_LTS
Diffstat (limited to 'rtabmap-ros.spec')
-rw-r--r--rtabmap-ros.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/rtabmap-ros.spec b/rtabmap-ros.spec
index ea1c0b8..8fea7b4 100644
--- a/rtabmap-ros.spec
+++ b/rtabmap-ros.spec
@@ -1,4 +1,4 @@
-%bcond_without tests
+%bcond_with tests
%bcond_without weak_deps
%define ros_distro humble
@@ -12,7 +12,7 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 0.22.1
-Release: 1%{?dist}%{?release_suffix}
+Release: 2%{?dist}%{?release_suffix}
Summary: RTAB-Map Stack
License: BSD
@@ -29,7 +29,7 @@ Requires: ros-%{ros_distro}-rtabmap-rviz-plugins
Requires: ros-%{ros_distro}-rtabmap-slam
Requires: ros-%{ros_distro}-rtabmap-sync
Requires: ros-%{ros_distro}-rtabmap-util
-Requires: ros-%{ros_distro}-rtabmap-viz
+# Requires: ros-%{ros_distro}-rtabmap-viz # skipped: needs Qt5/VTK
Requires: ros-%{ros_distro}-ros-workspace
BuildRequires: ros-%{ros_distro}-ament-cmake
@@ -46,7 +46,7 @@ Provides: %{name}-runtime = %{version}-%{release}
RTAB-Map Stack
%prep
-%autosetup -c -n %{name}-%{version}
+%autosetup -n %{RosPkgName}-%{version} -p1
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.
@@ -70,9 +70,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.