summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hri.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/hri.spec b/hri.spec
index bd9df37..9fabbe4 100644
--- a/hri.spec
+++ b/hri.spec
@@ -4,7 +4,7 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 2.6.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A wrapper library around the ROS4HRI ROS topics
License: Apache License 2.0
URL: https://github.com/ros4hri/libhri/tree/humble-devel
@@ -52,7 +52,7 @@ Provides: %{name}-runtime = %{version}-%{release}
A wrapper library around the ROS4HRI ROS topics
%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
@@ -82,6 +82,9 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* Thu Sep 24 2026 ai-importer <ai-importer@openeuler.org> - 2.6.1-3
+- Add -p1 to %autosetup so git-style patch (a/ b/ prefixes) applies correctly
+
* Thu Sep 24 2026 ai-importer <ai-importer@openeuler.org> - 2.6.1-2
- Fix magic_enum.hpp include path (magic_enum/magic_enum.hpp)