summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--scenario-execution-x11.spec5
-rw-r--r--sources2
3 files changed, 5 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index d9e97c9..7ab44e6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/scenario-execution-x11-1.2.0.tar.gz
/humble.tar.gz
+/scenario-execution-x11-1.2.0-2.tar.gz
diff --git a/scenario-execution-x11.spec b/scenario-execution-x11.spec
index 448481a..4061870 100644
--- a/scenario-execution-x11.spec
+++ b/scenario-execution-x11.spec
@@ -1,5 +1,6 @@
%define ros_distro humble
%define RosPkgName scenario-execution-x11
+%define src_version 1.2.0-2
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 1.2.0
@@ -7,7 +8,7 @@ Release: 1%{?dist}
Summary: Scenario Execution library for X11
License: Apache-2.0
URL: https://github.com/cps-test-lab/scenario-execution
-Source0: https://github.com/cps-test-lab/scenario-execution/archive/refs/heads/humble.tar.gz
+Source0: %{RosPkgName}-%{src_version}.tar.gz
# debug 子包无意义(/opt 前缀,strip/debugedit 路径非常规),SIG 模板统一关闭
%global debug_package %{nil}
@@ -42,7 +43,7 @@ window system (capture_screen via ffmpeg x11grab) and an OSC library (x11.osc)
for the scenario execution framework.
%prep
-%autosetup -n scenario-execution-humble
+%autosetup -n %{RosPkgName}-%{src_version}
%build
# ROS 基座环境(chroot 可能无 setup.sh,用 [ -f ] 守卫)
diff --git a/sources b/sources
index e34fee1..1dc2fbf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-173e215dadb85e0153e462561125b082 humble.tar.gz
+9c0f3af7da000fa5ad979bb8e2fa9120 scenario-execution-x11-1.2.0-2.tar.gz