summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-12 08:48:53 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-12 08:48:53 +0000
commiteb4ae87b8cd8bb434eaf0353c039563f6a465680 (patch)
tree75d10f9fafacf90fe5984490102e7923464d356b
parent369560869801e0e0867bf3bb19125ce8f590c330 (diff)
automatic import of ros-humble-autoware-mission-details-overlay-rviz-pluginopeneuler24.03_LTS_SP3
-rw-r--r--autoware-mission-details-overlay-rviz-plugin.spec15
1 files changed, 13 insertions, 2 deletions
diff --git a/autoware-mission-details-overlay-rviz-plugin.spec b/autoware-mission-details-overlay-rviz-plugin.spec
index 3bdcdb4..f6a594a 100644
--- a/autoware-mission-details-overlay-rviz-plugin.spec
+++ b/autoware-mission-details-overlay-rviz-plugin.spec
@@ -15,7 +15,7 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 0.5.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: RViz2 plugin for 2D overlays for mission details in the 3D view
License: Apache-2.0
URL: https://github.com/autowarefoundation/autoware_rviz_plugins
@@ -29,8 +29,12 @@ Source0: %{RosPkgName}-%{version}.tar.gz
%global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$
%global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$
-# 构建工具(ament_cmake 形态,规则 §6 line 98)
+# 构建工具(package.xml <buildtool_depend>ament_cmake_auto</buildtool_depend>)
+# ament_cmake_auto 提供宏 ament_auto_find_build_dependencies(),
+# cmake find_package(ament_cmake_auto REQUIRED) 需其独立 cmake 配置文件,
+# ros-humble-ament-cmake 不含 ament_cmake_auto 的 cmake config(build 113564 实踩)
BuildRequires: ros-%{ros_distro}-ament-cmake
+BuildRequires: ros-%{ros_distro}-ament-cmake-auto
# 系统依赖(package.xml <depend>boost + CMakeLists 用 qt5_wrap_cpp/Qt5Widgets,经 pkg.remap 映射)
BuildRequires: boost-devel
@@ -102,6 +106,13 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* Mon Oct 12 2026 AI Importer <ai-importer@opencode> - 0.5.0-4
+- Fix %build: add BuildRequires ros-humble-ament-cmake-auto
+- Root cause: package.xml declares buildtool_depend ament_cmake_auto,
+ CMakeLists.txt line 4 calls find_package(ament_cmake_auto REQUIRED)
+ but spec only had ros-humble-ament-cmake which does not provide
+ ament_cmake_auto cmake config (build 113564)
+
* Mon Oct 12 2026 AI Importer <ai-importer@opencode> - 0.5.0-3
- Fix build: remove RPM macro reference from comment in %%build section
- Root cause: spec comment contained "%%cmake" which RPM expanded even in