summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-23 11:31:33 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-23 11:31:33 +0000
commit50cecbc572d7706df8743301b507787151dffb36 (patch)
treef75395449a4a2641fe3e51115748645b4e67374c
parent02be97ffa0a00fb8da06103ccb3970bf7857b0aa (diff)
automatic import of ros-humble-kuka-control-mode-handler
-rw-r--r--.gitignore1
-rw-r--r--kuka-control-mode-handler.spec6
-rw-r--r--sources2
3 files changed, 4 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index feeb9dd..25ac69b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/3adea8cf8b356144558f69374a168a70c2356304.tar.gz
+/kuka-control-mode-handler-1.1.0.tar.gz
diff --git a/kuka-control-mode-handler.spec b/kuka-control-mode-handler.spec
index db1f838..a6da399 100644
--- a/kuka-control-mode-handler.spec
+++ b/kuka-control-mode-handler.spec
@@ -1,7 +1,5 @@
%define ros_distro humble
%define RosPkgName kuka-control-mode-handler
-# 实测 GitHub archive/<full-sha>.tar.gz 解压根目录为 kuka_drivers-<full-sha>,
-# 而非纯 commit SHA;故 autosetup -n 用实测目录名(见下方 %%prep)
%global commit 3adea8cf8b356144558f69374a168a70c2356304
Name: ros-%{ros_distro}-%{RosPkgName}
@@ -10,7 +8,7 @@ Release: 1%{?dist}
Summary: Controller for setting the control mode of KUKA robots in runtime
License: Apache-2.0
URL: https://github.com/kroshu/kuka_drivers
-Source0: https://github.com/kroshu/kuka_drivers/archive/%{commit}.tar.gz
+Source0: %{RosPkgName}-%{version}.tar.gz
# debug 子包无意义(/opt 前缀,strip/debugedit 路径非常规),SIG 模板统一关闭
%global debug_package %{nil}
@@ -50,7 +48,7 @@ kuka_control_mode_handler pluginlib plugin (a ros2_control controller) from
the kuka_drivers monorepo (subdirectory controllers/kuka_control_mode_handler).
%prep
-%autosetup -n kuka_drivers-%{commit}
+%autosetup -n %{RosPkgName}-%{version}
%build
# ROS 基座环境(chroot 已配置 ROS SIG repo;无 ROS 依赖的包 buildroot 里
diff --git a/sources b/sources
index ec947d7..56436d9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8cb27ea9b2260b397ca57360033ec508 3adea8cf8b356144558f69374a168a70c2356304.tar.gz
+96a81f3265da407afb933026b2cacbf8 kuka-control-mode-handler-1.1.0.tar.gz