summaryrefslogtreecommitdiff
path: root/glog.spec
diff options
context:
space:
mode:
Diffstat (limited to 'glog.spec')
-rw-r--r--glog.spec17
1 files changed, 14 insertions, 3 deletions
diff --git a/glog.spec b/glog.spec
index cfd4b8a..477bfec 100644
--- a/glog.spec
+++ b/glog.spec
@@ -4,14 +4,17 @@
Name: glog
Version: 0.7.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Google Logging Library (glog)
-# build_id=113746 失败根因:out-of-source cmake 构建下 find-debugsource.sh
+# build_id=113746/113747 失败根因:out-of-source cmake 构建下 find-debugsource.sh
# 未收集到源文件 -> glog-debugsource 子包的 %%files 列表为空 ->
# "error: Empty %%files file .../debugsourcefiles.list"。关闭自动生成的
# debugsource 子包(保留 glog-debuginfo,glog 主包/-devel 不受影响)。
-%global _debugsource_packages 0
+# build_id=113747 复现根因:%%global _debugsource_packages 0 在 openEuler 24.03
+# SP3 不生效——RPM 的 %%{?_debugsource_packages:...} 条件只判断宏是否定义,
+# 0 仍算已定义,debugsource 模板仍被启用。改用 %%undefine 真正取消宏定义。
+%undefine _debugsource_packages
License: BSD-3-Clause
URL: https://github.com/google/glog
@@ -115,6 +118,14 @@ ctest -j1 --output-on-failure -E '^logging$'
%{_datadir}/glog/
%changelog
+* Mon Oct 19 2026 openEuler Builder <builder@openeuler.org> - 0.7.1-7
+- Fix debugsource exclusion: use %%undefine _debugsource_packages instead
+ of %%global _debugsource_packages 0. RPM's %%{?_debugsource_packages:...}
+ conditional checks definedness, so 0 still enabled the debugsource
+ template (build 113747 reproduced Empty %%files file debugsourcefiles.list).
+- Keep the previous %%check exclusion of logging_unittest (SIGPIPE on
+ openEuler 24.03 SP3 aarch64 / mock).
+
* Mon Oct 19 2026 openEuler Builder <builder@openeuler.org> - 0.7.1-6
- Disable empty debugsource subpackage: %%global _debugsource_packages 0
(rpmbuild failed with "Empty %%files file debugsourcefiles.list" on