From 545481551025d42a15e8e393dad779771ad82b08 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 28 Sep 2026 08:59:10 +0000 Subject: automatic import of libnanopb-dev --- libnanopb-dev.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'libnanopb-dev.spec') 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 - 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 - 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) -- cgit v1.2.3