summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-08 11:20:38 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-08 11:20:38 +0000
commit3c3cea574379714dc96cb4a301d55d6920c92991 (patch)
tree2129b597b63bb0e31021dcd676bfb26c1a83f5e8
parent3041f3cf15f2cfd6074ed98aeee48d8572923cd2 (diff)
automatic import of ros-humble-nebula-core-ros
-rw-r--r--.gitignore1
-rw-r--r--nebula-core-ros.spec15
-rw-r--r--sources2
3 files changed, 13 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index a704789..da7f2ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/26749c80dff89f39000a9817141143c05ec151ab.tar.gz
/8ce64073f41c2ec1166334ce7f8fb2edc13c86e5.tar.gz
+/nebula-core-ros-1.2.0.tar.gz
diff --git a/nebula-core-ros.spec b/nebula-core-ros.spec
index f13e97b..d0b4d1b 100644
--- a/nebula-core-ros.spec
+++ b/nebula-core-ros.spec
@@ -6,12 +6,15 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 1.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Nebula ROS Base Libraries
License: Apache-2.0
URL: https://github.com/tier4/nebula
-# 实测 GitHub commit 归档解压根目录为 nebula-<完整SHA>,故 autosetup -n 用此名(§2 Source0 归档解压目录名)
-Source0: https://github.com/tier4/nebula/archive/%{commit}.tar.gz
+# #/ 强制重定向:driver/submit_fix 按 Source0 basename(# 后)打 tarball,
+# 目录名 = basename 去后缀 = nebula-core-ros-1.2.0,autosetup -n 与此对齐
+# (spec-rules-ros.md §2 强制重定向方案;build 113349 踩坑:无 #/ 时 basename
+# 为纯 SHA,spec 用 nebula-<SHA> 不匹配导致 prep cd 失败)
+Source0: https://github.com/tier4/nebula/archive/%{commit}.tar.gz#/nebula-core-ros-%{version}.tar.gz
# /opt 前缀下 debug 子包无意义,统一关闭(§2)
%global debug_package %{nil}
@@ -57,7 +60,7 @@ Nebula ROS 基础库 —— TIER IV Nebula 激光雷达驱动栈的核心 ROS 2
提供共享参数描述符工具与 agnocast wrapper 集成层,供 Nebula 各传感器驱动包使用。
%prep
-%autosetup -n nebula-%{commit}
+%autosetup -n nebula-core-ros-%{version}
%build
# ROS 基座环境引导:setup.sh 可能不存在,须用 [ -f ] 守卫(§4)
@@ -89,6 +92,10 @@ cd src/nebula_core/nebula_core_ros/.obj
/opt/ros/%{ros_distro}
%changelog
+* Thu Oct 08 2026 AI Importer <ai-importer@openeuler.org> - 1.2.0-2
+- 修复 %prep 失败:Source0 加 #/ 强制重定向 tarball 文件名,
+ %autosetup -n 与 driver/submit_fix 的目录名 nebula-core-ros-<version> 对齐
+
* Thu Oct 08 2026 AI Importer <ai-importer@openeuler.org> - 1.2.0-1
- 初始引入 ros-humble-nebula-core-ros
- Version 取自 manifest target_version 1.2.0;源码为 tier4/nebula main 分支 HEAD(commit 8ce6407)
diff --git a/sources b/sources
index a8101d9..de04bd8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8e1ee61479e5506b896298b5557a3aa5 8ce64073f41c2ec1166334ce7f8fb2edc13c86e5.tar.gz
+a692e36d8fa03eacad417d4216071f8f nebula-core-ros-1.2.0.tar.gz