summaryrefslogtreecommitdiff
path: root/rtabmap-odom.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rtabmap-odom.spec')
-rw-r--r--rtabmap-odom.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/rtabmap-odom.spec b/rtabmap-odom.spec
index e1dc45f..db86cfd 100644
--- a/rtabmap-odom.spec
+++ b/rtabmap-odom.spec
@@ -1,4 +1,4 @@
-%bcond_without tests
+%bcond_with tests
%bcond_without weak_deps
%define ros_distro humble
@@ -64,7 +64,7 @@ Provides: %{name}-runtime = %{version}-%{release}
RTAB-Map's odometry 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.
@@ -88,9 +88,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.