From a8ff71c29ccb49c5eb9c84fbb7f96331c9107391 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 23 Sep 2026 14:17:41 +0000 Subject: automatic import of libnanopb-dev --- libnanopb-dev.spec | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'libnanopb-dev.spec') diff --git a/libnanopb-dev.spec b/libnanopb-dev.spec index 77903d6..8c6e2ba 100644 --- a/libnanopb-dev.spec +++ b/libnanopb-dev.spec @@ -8,7 +8,7 @@ Name: libnanopb-dev Version: 0.4.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Protocol Buffers for embedded systems - development files License: Zlib @@ -52,10 +52,15 @@ source files. -Dnanopb_BUILD_RUNTIME=ON \ -Dnanopb_BUILD_GENERATOR=ON \ -DPython_EXECUTABLE=%{_bindir}/python3 -%cmake_build +# This chroot's %cmake performs an in-source build (writes Makefile into the +# source tree) while %cmake_build expects an out-of-source dir named +# %{_vpath_builddir} (aarch64-openEuler-linux-gnu) -> "is not a directory". +# %make_build / %make_install run against the in-source Makefile that %cmake +# actually generated, sidestepping the mismatched cmake-macros pair. +%make_build %install -%cmake_install +%make_install %files %license LICENSE.txt @@ -69,5 +74,9 @@ source files. %{python3_sitelib}/nanopb/ %changelog +* Wed Sep 23 2026 openEuler Builder - 0.4.9.2-2 +- Fix %build: use %make_build/%make_install against %cmake in-source Makefile + (chroot's %cmake_build expects absent out-of-source dir) + * Wed Sep 23 2026 openEuler Builder - 0.4.9.2-1 - Initial package for openEuler -- cgit v1.2.3