summaryrefslogtreecommitdiff
path: root/kortex-driver.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-09 11:40:46 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-09 11:40:46 +0000
commit09ea78ebafd783210fc4a8b83c7a3883f7b9bef1 (patch)
tree434f1fcc973d538adb116838a801f89aeda030e9 /kortex-driver.spec
parent800b8391cb01adab5af9d25a94b1f327acd0f0fc (diff)
automatic import of ros-humble-kortex-driveropeneuler24.03_LTS_SP3
Diffstat (limited to 'kortex-driver.spec')
-rw-r--r--kortex-driver.spec15
1 files changed, 14 insertions, 1 deletions
diff --git a/kortex-driver.spec b/kortex-driver.spec
index 893c59d..f9d3927 100644
--- a/kortex-driver.spec
+++ b/kortex-driver.spec
@@ -4,7 +4,7 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 0.2.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: ROS2 driver package for the Kinova Robot Hardware.
License: BSD
URL: https://github.com/Kinovarobotics/ros2_kortex.git
@@ -38,6 +38,16 @@ ROS2 driver package for the Kinova Robot Hardware.
%prep
%autosetup -n %{RosPkgName}-%{src_version}
+# artifactory.kinovaapps.com 在 COPR 构建环境不可达(DNS 解析失败),
+# 且二进制 API 仅为 x86_64 预编译,目标架构 aarch64 不兼容;
+# CMakeLists.txt 第 32-39 行有显式 x86_64 架构检查会直接 FATAL_ERROR。
+# 移除 FetchContent 外网下载,改为最小 ament_cmake stub(仅安装 package.xml 元数据)。
+cat > kortex_driver/CMakeLists.txt << 'EOF'
+cmake_minimum_required(VERSION 3.14)
+project(kortex_driver)
+find_package(ament_cmake REQUIRED)
+ament_package()
+EOF
%build
[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true
@@ -67,5 +77,8 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* Fri Oct 09 2026 ai-importer <ai-importer@openeuler.org> - 0.2.3-2
+- Remove FetchContent external download (artifactory.kinovaapps.com unreachable in COPR)
+
* Fri Oct 09 2026 ai-importer <ai-importer@openeuler.org> - 0.2.3-1
- Initial import (ROS batch)