summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-12 08:34:53 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-12 08:34:53 +0000
commitbae144ed66251a012f0cb798a9ead1fe5e3556e0 (patch)
tree46648b5179024c0facbabb72778221cd71db74fc
parent039306de12e4df545f0162900f2d30169004fb0e (diff)
automatic import of ros-humble-autoware-mission-details-overlay-rviz-plugin
-rw-r--r--.gitignore1
-rw-r--r--autoware-mission-details-overlay-rviz-plugin.spec19
-rw-r--r--sources2
3 files changed, 15 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index de0540a..c067fcc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/b3d59795932ee08cad52de5f1981cb8ef9d6d37c.tar.gz
+/autoware-mission-details-overlay-rviz-plugin-0.5.0.tar.gz
diff --git a/autoware-mission-details-overlay-rviz-plugin.spec b/autoware-mission-details-overlay-rviz-plugin.spec
index a2caa87..bfdc151 100644
--- a/autoware-mission-details-overlay-rviz-plugin.spec
+++ b/autoware-mission-details-overlay-rviz-plugin.spec
@@ -7,18 +7,19 @@
%define RosPkgName autoware-mission-details-overlay-rviz-plugin
# 实际拉取源为 main 分支 HEAD(commit b3d5979),该 commit 恰为上游 0.6.0 release tag。
-# 仓库无 0.5.0 tag,故 Source0 指向实际 commit 以保证可追溯。
+# 仓库无 0.5.0 tag,故 tarball 基于实际 commit 以保证可追溯。
# Version 取自 ros_pkg_manifest.json 的 target_version(0.5.0),系 gate 决策值(规则 §2 优先级)。
-%global commit b3d59795932ee08cad52de5f1981cb8ef9d6d37c
+# Source0 使用本地 tarball(submit_fix.py _ensure_tarball 用 --transform 统一目录名),
+# 不使用 GitHub archive URL——规则 §2 实测:GitHub commit 归档在 COPR rpmuncompress 下
+# 解压根目录为纯 SHA 而非 <repo>-<sha>,猜测目录名必导致 %prep cd 失败(build 113554 实踩)。
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 0.5.0
-Release: 1%{?dist}
+Release: 2%{?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
-# GitHub commit 归档实测解压根目录为 autoware_rviz_plugins-<full-sha>(非纯 SHA,已下载归档 tarfile 验证)
-Source0: https://github.com/autowarefoundation/autoware_rviz_plugins/archive/%{commit}.tar.gz
+Source0: %{RosPkgName}-%{version}.tar.gz
# /opt 前缀,debug 子包无意义
%global debug_package %{nil}
@@ -67,7 +68,7 @@ RViz2 plugin for 2D overlays for mission details in the 3D view.
This package is part of the Autoware rviz plugins suite.
%prep
-%autosetup -n autoware_rviz_plugins-%{commit}
+%autosetup -n %{RosPkgName}-%{version}
%build
# ROS 基座环境 bootstrap(规则 §4,[ -f ] 守卫避免 source 不存在文件中止脚本)
@@ -101,6 +102,12 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* Mon Oct 12 2026 AI Importer <ai-importer@opencode> - 0.5.0-2
+- Fix %prep: switch from GitHub archive URL to local tarball (submit_fix --transform)
+- Root cause: rpmuncompress on COPR extracts commit archive to pure-SHA dir,
+ not <repo>-<sha> as guessed; %autosetup -n autoware_rviz_plugins-%{commit} failed
+- %autosetup -n now uses %{RosPkgName}-%{version} matching local tarball dir name
+
* Mon Oct 12 2026 AI Importer <ai-importer@opencode> - 0.5.0-1
- Initial package for ros-humble-autoware-mission-details-overlay-rviz-plugin
- Source fetched from autowarefoundation/autoware_rviz_plugins main (commit b3d5979)
diff --git a/sources b/sources
index eb05411..77ac1d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-61f0a76b679aab93ea7d2864c934b91f b3d59795932ee08cad52de5f1981cb8ef9d6d37c.tar.gz
+0dd7d7bb86f850a6b32effbadce08f6b autoware-mission-details-overlay-rviz-plugin-0.5.0.tar.gz