summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-30 06:59:27 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-30 06:59:27 +0000
commit7c6ca5919879fa2d735850c3f5b8e4f35ddad5fc (patch)
treee03f8fd28a8669ab1dd24f1178ea98e6fa27311b
parentde953cf35e81c77d97d0ff9960d2e3da1e2d91e0 (diff)
automatic import of nav2-coreopeneuler24.03_LTS
-rw-r--r--nav2-core.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/nav2-core.spec b/nav2-core.spec
index ce20af2..0e30b93 100644
--- a/nav2-core.spec
+++ b/nav2-core.spec
@@ -1,4 +1,4 @@
-%bcond_without tests
+%bcond_with tests
%bcond_without weak_deps
%define ros_distro humble
@@ -59,7 +59,7 @@ Provides: %{name}-runtime = %{version}-%{release}
A set of headers for plugins core to the Nav2 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.
@@ -83,7 +83,7 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
%if !0%{?with_tests}
-DBUILD_TESTING=OFF \
%endif
- ../%{RosPkgName}-%{version}
+ ..
%make_build