From 4714211c3892c4cc9d16fa598378c9ad96238cbc Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 28 Sep 2026 08:53:10 +0000 Subject: automatic import of libnanopb-dev --- libnanopb-dev.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libnanopb-dev.spec b/libnanopb-dev.spec index 8088df2..0c2d286 100644 --- a/libnanopb-dev.spec +++ b/libnanopb-dev.spec @@ -7,7 +7,7 @@ Name: libnanopb-dev Version: 0.4.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Protocol Buffers library for embedded systems - development files License: Zlib @@ -19,6 +19,7 @@ Packager: openEuler Builder BuildRequires: cmake BuildRequires: gcc +BuildRequires: make BuildRequires: protobuf-compiler BuildRequires: python3 @@ -50,10 +51,10 @@ header files, CMake integration files, and the Python-based code generator -Dnanopb_BUILD_RUNTIME=ON \ -Dnanopb_BUILD_GENERATOR=ON \ -Dnanopb_PYTHON_INSTDIR_OVERRIDE=%{python3_sitelib} -%cmake_build +%make_build %install -%cmake_install +%make_install %files %license LICENSE.txt @@ -62,9 +63,15 @@ header files, CMake integration files, and the Python-based code generator %{_libdir}/libprotobuf-nanopb.a %{_libdir}/cmake/nanopb/ %{_bindir}/nanopb_generator +%{_bindir}/nanopb_generator.py %{_bindir}/protoc-gen-nanopb %{python3_sitelib}/nanopb/ %changelog +* 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) +- Add %{_bindir}/nanopb_generator.py to %files (installed by cmake, was missing) + * Mon Sep 28 2026 openEuler Builder - 0.4.9.2-1 - Initial package -- cgit v1.2.3