summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-09 03:53:11 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-09 03:53:11 +0000
commit10b4a24903623728b9aef73a1793bf24bae8a521 (patch)
tree12186e8b5813b9adbba4bd222f450481b1b495e8
parenta62e63ea9418666a2d29e1850fd3834b22af94cb (diff)
automatic import of ros-humble-joy-teleopopeneuler24.03_LTS
-rw-r--r--joy-teleop.spec19
1 files changed, 9 insertions, 10 deletions
diff --git a/joy-teleop.spec b/joy-teleop.spec
index b94b089..59c717a 100644
--- a/joy-teleop.spec
+++ b/joy-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 (to be) generic joystick interface to control a robot
License: BSD
@@ -27,6 +27,7 @@ Requires: ros-%{ros_distro}-rosidl-runtime-py
Requires: ros-%{ros_distro}-ros-workspace
BuildRequires: ros-%{ros_distro}-ros-workspace
+BuildRequires: python3-setuptools
%if 0%{?with_tests}
BuildRequires: ros-%{ros_distro}-ament-copyright
@@ -50,7 +51,7 @@ Provides: %{name}-runtime = %{version}-%{release}
A (to be) generic joystick interface to control a robot
%prep
-%autosetup -c -n joy-teleop-1.7.0
+%autosetup -n joy-teleop-1.7.0
%build
@@ -58,7 +59,6 @@ A (to be) generic joystick interface to control a robot
# 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
@@ -66,7 +66,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}
@@ -86,11 +85,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 joy-teleop 1.7.0 from humble branch to master
+* Fri Oct 09 2026 kuyan_kubuds <kuyan@kubuds.cn> - 1.7.0-3
+- Add the missing BuildRequires: python3-setuptools required by %py3_build
+ (%build failed with ModuleNotFoundError: No module named 'setuptools').
+* 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 Bence Magyar bence.magyar.robotics@gmail.com - 1.7.0-1
- Autogenerated by ros-porting-tools
-
-* Wed Jan 10 2024 Bence Magyar bence.magyar.robotics@gmail.com - 0.4.0-1
-- Autogenerated by ros-porting-tools