summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nebula-core-hw-interfaces.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/nebula-core-hw-interfaces.spec b/nebula-core-hw-interfaces.spec
index dbc6402..421fb07 100644
--- a/nebula-core-hw-interfaces.spec
+++ b/nebula-core-hw-interfaces.spec
@@ -16,7 +16,7 @@ Summary: Nebula HW Interfaces Base
License: Apache-2.0
URL: https://github.com/tier4/nebula
# 实测 SRPM 内捆绑归档解压根目录为纯 commit SHA(spec-rules §2 + SRPM 归档实测),
-# autosetup -n 与之匹配(EUR ROS-humble-3 同包用 -n %{commit} 构建成功证实)
+# autosetup -n 与之匹配(EUR ROS-humble-3 同包用 -n %%{commit} 构建成功证实)
Source0: https://github.com/tier4/nebula/archive/%{commit}.tar.gz
# ROS /opt 前缀:关闭 debug 子包、摘除 python 字节码 brp、豁免自动依赖扫描
@@ -65,7 +65,7 @@ export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$
cd src/nebula_core/nebula_core_hw_interfaces
mkdir -p .obj
cd .obj
-# 显式 out-of-source 构建(避免 openEuler %cmake 宏位置参数坑,spec-rules §5)
+# 显式 out-of-source 构建(避免 openEuler %%cmake 宏位置参数坑,spec-rules §5)
cmake .. \
-DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \
-DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \