summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-20 12:02:19 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-20 12:02:19 +0000
commit8de746797fdb2e16ebea1ef058cfb80374fb0d76 (patch)
tree465a62bdfbe9af5c0266ff953be09d493382d936
parent19421b56e06f65cc905ab4dd581bc57882d553d2 (diff)
automatic import of ros-humble-ros2-medkit-beacon-common
-rw-r--r--ros2-medkit-beacon-common.spec12
-rw-r--r--sources2
2 files changed, 13 insertions, 1 deletions
diff --git a/ros2-medkit-beacon-common.spec b/ros2-medkit-beacon-common.spec
index d3f1683..244e13c 100644
--- a/ros2-medkit-beacon-common.spec
+++ b/ros2-medkit-beacon-common.spec
@@ -43,6 +43,18 @@ and response building utilities used by the ros2_medkit discovery plugin suite.
%prep
%autosetup -n %{commit}
+# ros-humble-ros2-medkit-cmake (reused RPM) 缺少 cmake 模块文件;
+# extras.cmake 依赖 ${ros2_medkit_cmake_DIR} 目录下有这些文件才能把路径加入
+# CMAKE_MODULE_PATH。手动补装到已安装包的 share 目录使 include() 可以找到它们。
+install -d /opt/ros/%{ros_distro}/share/ros2_medkit_cmake/cmake
+install -m 644 src/ros2_medkit_cmake/cmake/ROS2MedkitCompat.cmake \
+ src/ros2_medkit_cmake/cmake/ROS2MedkitCcache.cmake \
+ src/ros2_medkit_cmake/cmake/ROS2MedkitCoverage.cmake \
+ src/ros2_medkit_cmake/cmake/ROS2MedkitLinting.cmake \
+ src/ros2_medkit_cmake/cmake/ROS2MedkitSanitizers.cmake \
+ src/ros2_medkit_cmake/cmake/ROS2MedkitTestDomain.cmake \
+ src/ros2_medkit_cmake/cmake/ROS2MedkitWarnings.cmake \
+ /opt/ros/%{ros_distro}/share/ros2_medkit_cmake/cmake/
%build
[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true
diff --git a/sources b/sources
index cc5c4d4..fa78b52 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8117e9d84d2be00f738a6b0b5039ba48 5fbdded41d49390830dbfbda745a3da924dd6ab2.tar.gz
+27179646410127cb4734d71b53cdd660 5fbdded41d49390830dbfbda745a3da924dd6ab2.tar.gz