summaryrefslogtreecommitdiff
path: root/nav2-controller.spec
diff options
context:
space:
mode:
Diffstat (limited to 'nav2-controller.spec')
-rw-r--r--nav2-controller.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/nav2-controller.spec b/nav2-controller.spec
index 52a6574..e44873f 100644
--- a/nav2-controller.spec
+++ b/nav2-controller.spec
@@ -1,4 +1,4 @@
-%bcond_without tests
+%bcond_with tests
%bcond_without weak_deps
%define ros_distro humble
@@ -58,7 +58,7 @@ Provides: %{name}-runtime = %{version}-%{release}
Controller action interface
%prep
-%autosetup -c -n %{name}-%{version}
+%autosetup -n %{RosPkgName}-%{version} -p1
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.
@@ -82,7 +82,7 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
%if !0%{?with_tests}
-DBUILD_TESTING=OFF \
%endif
- ../%{RosPkgName}-%{version}
+ ..
%make_build