summaryrefslogtreecommitdiff
path: root/behaviortree-cpp-v3.spec
diff options
context:
space:
mode:
Diffstat (limited to 'behaviortree-cpp-v3.spec')
-rw-r--r--behaviortree-cpp-v3.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/behaviortree-cpp-v3.spec b/behaviortree-cpp-v3.spec
index bb14911..f887bff 100644
--- a/behaviortree-cpp-v3.spec
+++ b/behaviortree-cpp-v3.spec
@@ -1,4 +1,4 @@
-%bcond_without tests
+%bcond_with tests
%bcond_without weak_deps
%define ros_distro humble
@@ -48,7 +48,7 @@ Provides: %{name}-runtime = %{version}-%{release}
This package provides the Behavior Trees core library.
%prep
-%autosetup -c -n %{name}-%{version}
+%autosetup -n %{RosPkgName}-%{version} -p1
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.
@@ -72,7 +72,7 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
%if !0%{?with_tests}
-DBUILD_TESTING=OFF \
%endif
- ../%{RosPkgName}-%{version}
+ ..
%make_build