summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rtabmap-sync.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/rtabmap-sync.spec b/rtabmap-sync.spec
index 61b2491..cf5ea7a 100644
--- a/rtabmap-sync.spec
+++ b/rtabmap-sync.spec
@@ -1,4 +1,4 @@
-%bcond_without tests
+%bcond_with tests
%bcond_without weak_deps
%define ros_distro humble
@@ -55,7 +55,7 @@ Provides: %{name}-runtime = %{version}-%{release}
RTAB-Map's synchronization package.
%prep
-%autosetup -c -n %{name}-%{version} -p1
+%autosetup -n %{RosPkgName}-%{version} -p1
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.
@@ -79,9 +79,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.