diff options
| -rw-r--r-- | webots-ros2-driver-fix-pylibs.patch | 20 | ||||
| -rw-r--r-- | webots-ros2-driver.spec | 1 |
2 files changed, 10 insertions, 11 deletions
diff --git a/webots-ros2-driver-fix-pylibs.patch b/webots-ros2-driver-fix-pylibs.patch index ed1c88e..d0e979e 100644 --- a/webots-ros2-driver-fix-pylibs.patch +++ b/webots-ros2-driver-fix-pylibs.patch @@ -1,11 +1,11 @@ ---- ros-humble-webots-ros2-driver-2023.0.2/CMakeLists.txt_org 2023-05-07 21:48:41.122774606 +0800 -+++ ros-humble-webots-ros2-driver-2023.0.2/CMakeLists.txt 2023-05-07 21:48:49.619782644 +0800 -@@ -37,7 +37,7 @@ - if($ENV{ROS_DISTRO} MATCHES "foxy") - find_package(PythonLibs 3.8 EXACT REQUIRED) - else() -- find_package(PythonLibs 3.10 EXACT REQUIRED) -+ find_package(PythonLibs 3.9 EXACT REQUIRED) - endif() +--- a/webots_ros2_driver/CMakeLists.txt ++++ b/webots_ros2_driver/CMakeLists.txt +@@ -31,7 +31,7 @@ + find_package(yaml-cpp REQUIRED) - add_custom_target(compile-lib-controller ALL + if($ENV{ROS_DISTRO} MATCHES "humble") +- find_package(Python 3.10 EXACT REQUIRED COMPONENTS Development) ++ find_package(Python 3.11 EXACT REQUIRED COMPONENTS Development) + elseif($ENV{ROS_DISTRO} MATCHES "iron") + find_package(Python 3.10 EXACT REQUIRED COMPONENTS Development) + elseif($ENV{ROS_DISTRO} MATCHES "jazzy") diff --git a/webots-ros2-driver.spec b/webots-ros2-driver.spec index 74790cb..3ef2c53 100644 --- a/webots-ros2-driver.spec +++ b/webots-ros2-driver.spec @@ -60,7 +60,6 @@ Implementation of the Webots - ROS 2 interface %prep %autosetup -n %{RosPkgName}-%{src_version} -%patch0 -p1 %build [ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true |
