summaryrefslogtreecommitdiff
path: root/performance-test.spec
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 /performance-test.spec
parent27c9547ed3c697e9a213c6cfb85c0d011d374615 (diff)
automatic import of ros-humble-performance-testopeneuler24.03_LTS_SP3
Diffstat (limited to 'performance-test.spec')
-rw-r--r--performance-test.spec5
1 files changed, 3 insertions, 2 deletions
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(离线构建)