diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-23 14:08:56 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-23 14:08:56 +0000 |
| commit | bcfc3c8af3a38e4459a3b78730a7e14ce4e9e93a (patch) | |
| tree | 77596e35013b1cee88c782a1cfae27072ecfa632 /nebula-continental-common.spec | |
| parent | 41afdacec718f5d1e9f28038a2ae8ca19713d09f (diff) | |
automatic import of ros-humble-nebula-continental-commonopeneuler24.03_LTS_SP3
Diffstat (limited to 'nebula-continental-common.spec')
| -rw-r--r-- | nebula-continental-common.spec | 6 |
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) |
