summaryrefslogtreecommitdiff
path: root/autoware-utils-debug.spec
diff options
context:
space:
mode:
Diffstat (limited to 'autoware-utils-debug.spec')
-rw-r--r--autoware-utils-debug.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/autoware-utils-debug.spec b/autoware-utils-debug.spec
index c4fd886..13e0645 100644
--- a/autoware-utils-debug.spec
+++ b/autoware-utils-debug.spec
@@ -1,6 +1,6 @@
Name: autoware-utils-debug
Version: 1.11.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Utilities for debug in Autoware (ROS 2 Humble)
License: Apache-2.0
@@ -10,6 +10,10 @@ Source0: https://github.com/autowarefoundation/autoware_utils/archive/ref
# topdir after --transform: autoware-utils-debug-1.11.0/
# sub-package source dir: autoware_utils_debug/
+# Release 构建无 DWARF 调试信息,禁用 debuginfo/debugsource 子包,
+# 避免 find-debuginfo 生成空 debugsourcefiles.list 导致 rpmbuild 失败
+%global debug_package %{nil}
+
# ROS 包不做自动依赖扫描(.so 全在 /opt/ros 下,由 ament 间接依赖模型替代)
%global __provides_exclude_from ^/opt/ros/humble/.*$
%global __requires_exclude_from ^/opt/ros/humble/.*$
@@ -96,6 +100,11 @@ cd build_pkg
/opt/ros/humble/share/autoware_utils_debug/cmake/
%changelog
+* Wed Sep 23 2026 openEuler Builder <builder@openeuler.org> - 1.11.0-3
+- Disable debug_package (%%global debug_package %%{nil}): Release build
+ (-O3 -DNDEBUG) has no DWARF symbols, so find-debuginfo produces an empty
+ debugsourcefiles.list which rpmbuild treats as a fatal error.
+
* Wed Sep 23 2026 openEuler Builder <builder@openeuler.org> - 1.11.0-2
- Fix %%files: libautoware_utils_debug.so is unversioned (ROS ament), LICENSE
is at repo root, cmake config lives in share/<pkg>/cmake not lib/cmake;