summaryrefslogtreecommitdiff
path: root/ros-humble-pugixml-devel.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-12 11:43:47 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-12 11:43:47 +0000
commitbbb14c62f5a8b6784ba19a78a6f045b38b14a1bf (patch)
tree6fadd14b71a098461ef0c9c8a1ebaa4b73db87c5 /ros-humble-pugixml-devel.spec
parent5ab11d454a060b91f912ad9dd6395b69cba29e8f (diff)
automatic import of ros-humble-pugixml-developeneuler24.03_LTS_SP3
Diffstat (limited to 'ros-humble-pugixml-devel.spec')
-rw-r--r--ros-humble-pugixml-devel.spec9
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