summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-20 06:30:48 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-20 06:30:48 +0000
commit5537c5aee069396fdaf419e405438edd17665c89 (patch)
tree7aaf80e6cd14f1a324990b31c6540e4ca62510cf
parent5b44911e473d79e5e8efb2f3e2847fb37ce43209 (diff)
automatic import of ros-humble-easynav-simple-controlleropeneuler24.03_LTS_SP3
-rw-r--r--easynav-simple-controller.spec37
1 files changed, 24 insertions, 13 deletions
diff --git a/easynav-simple-controller.spec b/easynav-simple-controller.spec
index 12909ef..fc5c880 100644
--- a/easynav-simple-controller.spec
+++ b/easynav-simple-controller.spec
@@ -54,13 +54,19 @@ BuildRequires: ros-%{ros_distro}-rclcpp
BuildRequires: ros-%{ros_distro}-tf2
BuildRequires: ros-%{ros_distro}-tf2-geometry-msgs
BuildRequires: ros-%{ros_distro}-tf2-ros
-# 注:package.xml 另有 <depend>easynav_common</depend>、<depend>easynav_core</depend>——
-# 这两个是 EasyNav 基座框架包(独立 EasyNavigation 基座仓,非 rosdistro、非 SIG 源、
-# 非本批兄弟)。ros-projects.list 与 ros-upstream.list 两级均查不到,按 §6 反幻觉铁律
-# "查不到就留空让构建失败诊断循环兜底,不得编造"——此处不写 ros-humble-easynav-*
-# BuildRequires(写成必被 verify_ros_spec_deps.py 判为幻觉名打回)。构建将在
-# `find_package(easynav_common REQUIRED)` 处诚实失败,由 lead 从基座仓补引后补 BR。
-# 此非"静默丢弃以骗过构建":依赖确属 find_package REQUIRED + 链接目标,缺口如实暴露。
+# EasyNav 基座框架包(独立 EasyNavigation 基座仓
+# https://github.com/EasyNavigation/EasyNavigation rolling 分支,v0.5.0)。
+# round 2(build 113758)时两者尚未注册/构建,按 §6 反幻觉铁律正确地未写 BR,
+# 构建在 find_package(easynav_common REQUIRED) 诚实失败。controller fixer round 2
+# 已将 easynav-common/easynav-core 及传递依赖 yaets 注册入
+# data/ros/humble/ros-projects.list 并在 COPR project 构建完成;dnf repoquery 实证
+# ros-humble-easynav-common-0.5.0-1、ros-humble-easynav-core-0.5.0-1 均有 provider
+#(同批兄弟 easynav-simple-recovery/planner 已带此二者 BR 构建成功)。
+# 本轮补两条 BuildRequires 重提。两者均属 find_package REQUIRED + 链接目标
+#(CMakeLists target_link_libraries easynav_common::easynav_common /
+# easynav_core::easynav_core),非静默丢弃。
+BuildRequires: ros-%{ros_distro}-easynav-common
+BuildRequires: ros-%{ros_distro}-easynav-core
# <test_depend>(ament_cmake_gtest/ament_lint_auto/ament_lint_common/easynav_controller/
# easynav_simple_common/lifecycle_msgs/rclcpp_lifecycle/std_srvs)按 §5 不写 BuildRequires。
@@ -75,6 +81,17 @@ Requires: ros-%{ros_distro}-rclcpp
Requires: ros-%{ros_distro}-tf2
Requires: ros-%{ros_distro}-tf2-geometry-msgs
Requires: ros-%{ros_distro}-tf2-ros
+# EasyNav 基座框架包运行时 Requires(同 BuildRequires 映射,<depend>=build+run)
+Requires: ros-%{ros_distro}-easynav-common
+Requires: ros-%{ros_distro}-easynav-core
+
+# §7:单包策略——严禁拆实体子包(路径与主包 files 段整树重叠致安装事务冲突),
+# 改用虚拟 Provides 别名兼容依赖方。Provides 属包头 preamble 标签,必须置于
+# %description 之前;误置 %files 段内会被 RPM 当文件路径解析,报
+# "File must begin with /": Provides:(recovery build 113762 实踩修复)。
+Provides: %{name}-devel = %{version}-%{release}
+Provides: %{name}-doc = %{version}-%{release}
+Provides: %{name}-runtime = %{version}-%{release}
%description
Easy Navigation simple controller plugin. Provides a simple controller plugin for the
@@ -116,16 +133,10 @@ export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$
cd controllers/easynav_simple_controller/.obj
%make_install
-# §7:单包策略——严禁拆实体子包(路径与主包 files 段整树重叠致安装事务冲突),
-# 用虚拟 Provides 别名兼容依赖方
%files
%license LICENSE
/opt/ros/%{ros_distro}
-Provides: %{name}-devel = %{version}-%{release}
-Provides: %{name}-doc = %{version}-%{release}
-Provides: %{name}-runtime = %{version}-%{release}
-
%changelog
* Tue Oct 20 2026 ROS SIG - 0.5.0-1
- Initial RPM packaging of easynav_simple_controller for openEuler ROS humble.