summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nebula-continental-common.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/nebula-continental-common.spec b/nebula-continental-common.spec
index 4a73824..e2e6495 100644
--- a/nebula-continental-common.spec
+++ b/nebula-continental-common.spec
@@ -3,7 +3,7 @@
# 本包为 monorepo 子包,源码位于 src/nebula_continental/nebula_continental_common/
# 构建形态:ament_cmake(buildtool 依赖 autoware_cmake + ros_environment)
# Version 取自 ros_pkg_manifest.json 的 target_version=1.2.0
-# Source0 用 ros_fetch 实际拉取的 commit 归档(实测根目录名 = <full-sha>,无 nebula- 前缀)
+# Source0 URL 用 GitHub commit 归档;SRPM 内嵌 submit_fix.py 重打的 tarball(解压根 = %%{RosPkgName}-%%{version})
%define ros_distro humble
%define RosPkgName nebula-continental-common
@@ -15,7 +15,7 @@ Release: 1%{?dist}
Summary: Nebula Common Continental Libraries and headers
License: Apache-2.0
URL: https://github.com/tier4/nebula
-# ros_fetch 创建的 tarball 解压根目录为 <full-sha>(无 nebula- 前缀),故 -n 与之匹配
+# submit_fix.py 按 fixer 标准用 %%{RosPkgName}-%%{version} 作 --transform 重打 tarball,解压根目录与之匹配
Source0: https://github.com/tier4/nebula/archive/%{commit}.tar.gz
# ROS /opt 前缀:关闭 debug 子包、摘除 python 字节码 brp、豁免自动依赖扫描
@@ -54,7 +54,7 @@ providing Continental SRR520 and ARS548 radar definitions for the Nebula LiDAR
driver stack, built into /opt/ros/%{ros_distro}.
%prep
-%autosetup -n %{commit} -p1
+%autosetup -n %{RosPkgName}-%{version} -p1
%build
# ROS 基座环境(chroot 未装 setup.sh 时用 [ -f ] 守卫,避免严格 sh 中止整个 %build)