summaryrefslogtreecommitdiff
path: root/scenario-execution-x11.spec
diff options
context:
space:
mode:
Diffstat (limited to 'scenario-execution-x11.spec')
-rw-r--r--scenario-execution-x11.spec5
1 files changed, 3 insertions, 2 deletions
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 ] 守卫)