summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-23 08:18:39 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-23 08:18:39 +0000
commit50fc84958fb2bf23513bc9d555102322c7c92def (patch)
treefe28730ebe789f72e830e78f49ceb6ef476eef33
parent27c9547ed3c697e9a213c6cfb85c0d011d374615 (diff)
automatic import of ros-humble-performance-testopeneuler24.03_LTS_SP3
-rw-r--r--.gitignore1
-rw-r--r--performance-test.spec5
-rw-r--r--sources2
3 files changed, 5 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index ff177dd..fa25934 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/sole-1.0.2.tar.gz
/tabulate-v1.4.tar.gz
/tclap-1.4.0-rc1.tar.gz
+/performance-test-2.3.0-1.tar.gz
diff --git a/performance-test.spec b/performance-test.spec
index 811fdf0..4c5bd5a 100644
--- a/performance-test.spec
+++ b/performance-test.spec
@@ -1,5 +1,6 @@
%define ros_distro humble
%define RosPkgName performance-test
+%define src_version 2.3.0-1
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 2.3.0
@@ -7,7 +8,7 @@ Release: 1%{?dist}
Summary: Tool to test performance of ROS2 and DDS data layers and communication
License: Apache-2.0
URL: https://gitlab.com/ApexAI/performance_test
-Source0: https://gitlab.com/ApexAI/performance_test/-/archive/2.3.0/performance_test-2.3.0.tar.gz
+Source0: %{RosPkgName}-%{src_version}.tar.gz
# 离线构建外部依赖 tarball(替代 CMakeLists.txt 中 ExternalProject 的 git clone)
Source1: https://github.com/mirror/tclap/archive/1.4.0-rc1.tar.gz#/tclap-1.4.0-rc1.tar.gz
Source2: https://github.com/Tencent/rapidjson/archive/v1.1.0.tar.gz#/rapidjson-v1.1.0.tar.gz
@@ -50,7 +51,7 @@ Provides: %{name}-runtime = %{version}-%{release}
Tool to test performance of ROS2 and DDS data layers and communication.
%prep
-%setup -q -n performance_test-%{version}
+%setup -q -n %{RosPkgName}-%{src_version}
cd performance_test
# 将 ExternalProject 的 git clone 改为本地 tarball(离线构建)
diff --git a/sources b/sources
index 82748fb..b3fdd15 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-6d20b509913416eab9f9354206395d1a performance_test-2.3.0.tar.gz
+6d20b509913416eab9f9354206395d1a performance-test-2.3.0-1.tar.gz
badd12c511e081fec6c89c43a7027bce rapidjson-v1.1.0.tar.gz
8a4e09a0654474df3252172ba8a8ca99 sole-1.0.2.tar.gz
10db675225acb499e1b844093738d731 tabulate-v1.4.tar.gz