From bcfc3c8af3a38e4459a3b78730a7e14ce4e9e93a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 23 Sep 2026 14:08:56 +0000 Subject: automatic import of ros-humble-nebula-continental-common --- nebula-continental-common.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nebula-continental-common.spec') 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 归档(实测根目录名 = ,无 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 解压根目录为 (无 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) -- cgit v1.2.3