diff options
| -rw-r--r-- | ros-humble-pugixml-devel.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ros-humble-pugixml-devel.spec b/ros-humble-pugixml-devel.spec index 09e81ea..7d69ce1 100644 --- a/ros-humble-pugixml-devel.spec +++ b/ros-humble-pugixml-devel.spec @@ -1,7 +1,7 @@ # topdir: ros-humble-pugixml-devel-1.16 Name: ros-humble-pugixml-devel Version: 1.16 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C++ XML processing library (pugixml) for ROS Humble License: MIT @@ -36,6 +36,8 @@ cmake .. \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \ -DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \ + -DCMAKE_C_FLAGS="%{optflags}" \ + -DCMAKE_CXX_FLAGS="%{optflags}" \ -DBUILD_SHARED_LIBS=ON \ -DPUGIXML_BUILD_TESTS=OFF \ -DPUGIXML_INSTALL=ON @@ -56,6 +58,11 @@ cd build %{_libdir}/pkgconfig/pugixml.pc %changelog +* Mon Oct 12 2026 openEuler Builder <builder@openeuler.org> - 1.16-3 +- Pass %%{optflags} to cmake via CMAKE_C_FLAGS/CMAKE_CXX_FLAGS so the + compiler emits debug symbols (-g), fixing "Empty %files file + debugsourcefiles.list" error from auto-generated debugsource subpackage + * Mon Oct 12 2026 openEuler Builder <builder@openeuler.org> - 1.16-2 - Fix %build: replace inconsistent %cmake/%cmake_build/%cmake_install macros with manual out-of-tree build to avoid "is not a directory" error on aarch64 |
