diff options
| -rw-r--r-- | libnanopb-dev.spec | 15 | ||||
| -rw-r--r-- | sources | 2 |
2 files changed, 13 insertions, 4 deletions
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 <builder@openeuler.org> - 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 <builder@openeuler.org> - 0.4.9.2-1 - Initial package for openEuler @@ -1 +1 @@ -1f510192222702be8cebe46555ec2427 libnanopb-dev-0.4.9.2.tar.gz +2f9524bf7fa24e4ac6e21829783ec642 libnanopb-dev-0.4.9.2.tar.gz |
