summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hri-fix-magic-enum-include.patch10
-rw-r--r--hri.spec6
2 files changed, 15 insertions, 1 deletions
diff --git a/hri-fix-magic-enum-include.patch b/hri-fix-magic-enum-include.patch
new file mode 100644
index 0000000..0b01764
--- /dev/null
+++ b/hri-fix-magic-enum-include.patch
@@ -0,0 +1,10 @@
+--- a/hri/src/hri/face.cpp
++++ b/hri/src/hri/face.cpp
+@@ -24,7 +24,7 @@
+ #include "hri_msgs/msg/facial_landmarks.hpp"
+ #include "hri_msgs/msg/normalized_region_of_interest2_d.hpp"
+ #include "hri_msgs/msg/soft_biometrics.hpp"
+-#include "magic_enum.hpp"
++#include "magic_enum/magic_enum.hpp"
+ #include "rclcpp/rclcpp.hpp"
+ #include "sensor_msgs/msg/image.hpp"
diff --git a/hri.spec b/hri.spec
index 87214ec..bd9df37 100644
--- a/hri.spec
+++ b/hri.spec
@@ -4,11 +4,12 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 2.6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A wrapper library around the ROS4HRI ROS topics
License: Apache License 2.0
URL: https://github.com/ros4hri/libhri/tree/humble-devel
Source0: %{RosPkgName}-%{src_version}.tar.gz
+Patch0: hri-fix-magic-enum-include.patch
%global debug_package %{nil}
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
@@ -81,5 +82,8 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* 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)
+
* Thu Sep 24 2026 ai-importer <ai-importer@openeuler.org> - 2.6.1-1
- Initial import (ROS batch)