summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnanopb-dev.spec13
1 files changed, 12 insertions, 1 deletions
diff --git a/libnanopb-dev.spec b/libnanopb-dev.spec
index 0c2d286..84387fd 100644
--- a/libnanopb-dev.spec
+++ b/libnanopb-dev.spec
@@ -5,9 +5,15 @@
# (the find-module this package ships for consumers), build-tests/ and examples/
# (not built with -DBUILD_TESTING=OFF). Root CMakeLists.txt never calls it.
+# Disable debuginfo subpackage: this package ships only a static library
+# (libprotobuf-nanopb.a), header files, CMake config files and Python scripts.
+# There are no ELF executables or shared libraries, so find-debuginfo produces
+# an empty debugfiles.list and rpmbuild fails with "Empty %files file".
+%global debug_package %{nil}
+
Name: libnanopb-dev
Version: 0.4.9.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Protocol Buffers library for embedded systems - development files
License: Zlib
@@ -68,6 +74,11 @@ header files, CMake integration files, and the Python-based code generator
%{python3_sitelib}/nanopb/
%changelog
+* Mon Sep 28 2026 openEuler Builder <builder@openeuler.org> - 0.4.9.2-3
+- Disable debuginfo subpackage via %%global debug_package %%{nil}
+ (package ships only static lib + Python scripts + headers, no ELF binaries
+ => find-debuginfo produces empty debugfiles.list => "Empty %%files file")
+
* Mon Sep 28 2026 openEuler Builder <builder@openeuler.org> - 0.4.9.2-2
- Fix %build: replace %cmake_build/%cmake_install with %make_build/%make_install
(%cmake macro runs in-place but %cmake_build expects %{_target_platform} dir)