diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-23 14:25:41 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-23 14:25:41 +0000 |
| commit | 2c50714765391422f9bf798fe9927c163a4cad63 (patch) | |
| tree | a7617595cc0c03b990eb0600e743fcb3997610c1 | |
| parent | a8ff71c29ccb49c5eb9c84fbb7f96331c9107391 (diff) | |
automatic import of libnanopb-devopeneuler24.03_LTS_SP3
| -rw-r--r-- | libnanopb-dev.spec | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/libnanopb-dev.spec b/libnanopb-dev.spec index 8c6e2ba..af0b9f7 100644 --- a/libnanopb-dev.spec +++ b/libnanopb-dev.spec @@ -8,7 +8,7 @@ Name: libnanopb-dev Version: 0.4.9.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Protocol Buffers for embedded systems - development files License: Zlib @@ -52,11 +52,8 @@ source files. -Dnanopb_BUILD_RUNTIME=ON \ -Dnanopb_BUILD_GENERATOR=ON \ -DPython_EXECUTABLE=%{_bindir}/python3 -# 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. +# Build against the in-source Makefile that cmake wrote into the source tree; +# the cmake-build helper macro here targets an absent out-of-source directory. %make_build %install @@ -74,6 +71,15 @@ source files. %{python3_sitelib}/nanopb/ %changelog +* Wed Sep 23 2026 openEuler Builder <builder@openeuler.org> - 0.4.9.2-3 +- Fix %build syntax error: the prior explanatory comment named rpm macros + (cmake/cmake_build/make_build/make_install/vpath_builddir) with a percent + prefix; rpm expands such tokens even inside comments and the multi-line + cmake macro body broke out of the comment as live shell, aborting the + build script with a syntax error near an unquoted parenthesis. Replaced + the comment with a percent-token-free note; the make_build/make_install + build approach is retained. + * 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) |
