diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | performance-test.spec | 5 | ||||
| -rw-r--r-- | sources | 2 |
3 files changed, 5 insertions, 3 deletions
@@ -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(离线构建) @@ -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 |
