summaryrefslogtreecommitdiff
path: root/ros-humble-mavros-extras.spec
diff options
context:
space:
mode:
Diffstat (limited to 'ros-humble-mavros-extras.spec')
-rw-r--r--ros-humble-mavros-extras.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/ros-humble-mavros-extras.spec b/ros-humble-mavros-extras.spec
index 5227a89..e9fa2c7 100644
--- a/ros-humble-mavros-extras.spec
+++ b/ros-humble-mavros-extras.spec
@@ -4,7 +4,7 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 2.16.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Extra nodes and plugins for MAVROS
License: GPLv3 and LGPLv3 and BSD
@@ -125,7 +125,7 @@ cd mavros_extras
export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH}
export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
-# Explicit out-of-source build (openEuler %cmake macro positional-arg pitfall)
+# Explicit out-of-source build (openEuler %%cmake macro positional-arg pitfall)
mkdir -p .obj && cd .obj
cmake .. \
-DCMAKE_INSTALL_PREFIX=/opt/ros/%{ros_distro} \
@@ -145,6 +145,14 @@ cd mavros_extras/.obj
/opt/ros/%{ros_distro}
%changelog
+* Mon Oct 12 2026 AI Importer <ai-importer@openeuler.org> - 2.16.0-3
+- Escape %%cmake token in a %%build comment: rpm expands %%macros even
+ inside comments, so the openEuler %%cmake macro's multi-line body (which
+ includes %%set_build_flags + a (...) subshell) leaked out of the comment
+ and was executed as build commands, causing "syntax error near
+ unexpected token )'" at line 61 of the build script. Replaced with
+ %%cmake (literal %%cmake) so the comment stays a comment.
+
* Mon Oct 12 2026 AI Importer <ai-importer@openeuler.org> - 2.16.0-2
- Drop BuildRequires: geographiclib-tools: it duplicates /usr/bin/* tools
already provided by official geographiclib (pulled by geographiclib-devel),