summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.