summaryrefslogtreecommitdiff
path: root/mouse-teleop.spec
diff options
context:
space:
mode:
Diffstat (limited to 'mouse-teleop.spec')
-rw-r--r--mouse-teleop.spec20
1 files changed, 9 insertions, 11 deletions
diff --git a/mouse-teleop.spec b/mouse-teleop.spec
index f949820..77db72c 100644
--- a/mouse-teleop.spec
+++ b/mouse-teleop.spec
@@ -1,4 +1,4 @@
-%bcond_without tests
+%bcond_with tests
%bcond_without weak_deps
%define ros_distro humble
@@ -12,7 +12,7 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 1.7.0
-Release: 1%{?dist}%{?release_suffix}
+Release: 3%{?dist}%{?release_suffix}
Summary: A mouse teleop tool for holonomic mobile robots.
License: BSD
@@ -21,7 +21,7 @@ Source0: %{RosPkgName}-%{version}.tar.gz
Requires: ros-%{ros_distro}-geometry-msgs
Requires: ros-%{ros_distro}-rclpy
Requires: python3-numpy
-Requires: python3-tk
+Requires: python3-tkinter
Requires: ros-%{ros_distro}-ros-workspace
BuildRequires: ros-%{ros_distro}-ros-workspace
@@ -41,7 +41,7 @@ Provides: %{name}-runtime = %{version}-%{release}
A mouse teleop tool for holonomic mobile robots.
%prep
-%autosetup -c -n mouse-teleop-1.7.0
+%autosetup -n mouse-teleop-1.7.0
%build
@@ -49,7 +49,6 @@ A mouse teleop tool for holonomic mobile robots.
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi
-cd %{RosPkgName}-%{version}
%py3_build
%install
@@ -57,7 +56,6 @@ cd %{RosPkgName}-%{version}
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi
-cd %{RosPkgName}-%{version}
%py3_install -- --prefix "/opt/ros/%{ros_distro}"
%if 0%{?with_tests}
@@ -77,11 +75,11 @@ else echo "RPM TESTS SKIPPED"; fi
/opt/ros/%{ros_distro}
%changelog
-* Tue Sep 22 2026 kuyan_kubuds <kuyan@kubuds.cn> - 1.7.0-1
-- Sync mouse-teleop 1.7.0 from humble branch to master
+* Fri Oct 09 2026 kuyan_kubuds <kuyan@kubuds.cn> - 1.7.0-3
+- Fix Requires: python3-tk -> python3-tkinter (correct openEuler package name);
+ the old name has no provider, so mouse_teleop failed to install.
+* Mon Sep 21 2026 Wanming Hu <huwanming@huawei.com> - 1.7.0-2
+- Fix %autosetup and the build directory paths for the tarball layout.
* Fri Apr 03 2026 Enrique Fernandez enrique.fernandez.perdomo@gmail.com - 1.7.0-1
- Autogenerated by ros-porting-tools
-
-* Wed Jan 10 2024 Enrique Fernandez enrique.fernandez.perdomo@gmail.com - 0.4.0-1
-- Autogenerated by ros-porting-tools