diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-15 11:52:24 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-15 11:52:24 +0000 |
| commit | e73ddd7b6698c29bec667cd36371d7fe0fcf768e (patch) | |
| tree | ab1ad6acef3e0a1cb2b964af2970eab81da5b50f | |
| parent | 1977baccd5f262fed9fe113958578c5fd347017b (diff) | |
automatic import of ros-humble-eventdispatch-ros2-interfacesopeneuler24.03_LTS_SP3
| -rw-r--r-- | eventdispatch-ros2-interfaces.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eventdispatch-ros2-interfaces.spec b/eventdispatch-ros2-interfaces.spec index 19140e6..d8aa3d8 100644 --- a/eventdispatch-ros2-interfaces.spec +++ b/eventdispatch-ros2-interfaces.spec @@ -17,6 +17,7 @@ Source0: https://github.com/cyan-at/ros2_eventdispatch/archive/%{commit}. BuildRequires: ros-%{ros_distro}-ament-cmake BuildRequires: ros-%{ros_distro}-rosidl-default-generators +BuildRequires: ros-%{ros_distro}-builtin-interfaces Requires: ros-%{ros_distro}-ros-workspace Requires: ros-%{ros_distro}-ament-cmake @@ -32,6 +33,9 @@ Provides ROS2 service and message types used by eventdispatch-ros2. %prep %autosetup -n ros2_eventdispatch-%{commit} +# 上游 CMakeLists.txt 缺少 find_package(builtin_interfaces),在此补全 +sed -i '/find_package(rosidl_default_generators REQUIRED)/a find_package(builtin_interfaces REQUIRED)' \ + eventdispatch_ros2_interfaces/CMakeLists.txt %build source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true |
