diff options
| -rw-r--r-- | joy-teleop.spec | 19 |
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 |
