summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--control-box-rst.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/control-box-rst.spec b/control-box-rst.spec
index 454b429..7510796 100644
--- a/control-box-rst.spec
+++ b/control-box-rst.spec
@@ -4,7 +4,7 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 0.0.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The control_box_rst package provides C++ libraries for predictive control, dire
License: GPLv3
URL: https://github.com/rst-tu-dortmund/control_box_rs/tree/foxy-devel
@@ -31,7 +31,7 @@ The control_box_rst package provides C++ libraries for predictive control,
direct optimal control, optimization and simulation.
%prep
-%autosetup -n %{RosPkgName}-%{src_version}
+%autosetup -p1 -n %{RosPkgName}-%{src_version}
%build
[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true
@@ -59,6 +59,9 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* Tue Sep 29 2026 ai-importer <ai-importer@openeuler.org> - 0.0.7-3
+- Fix patch strip level: add -p1 to %autosetup (git-style diff has a/ b/ prefix)
+
* Tue Sep 29 2026 ai-importer <ai-importer@openeuler.org> - 0.0.7-2
- Fix pushJacobian() C++17 branch: _values.emplace_back() -> _jacobians.emplace_back()