From a7fdbd9f53bea3641b2872abf6903498aa32e1e6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 27 Mar 2026 09:33:27 +0000 Subject: automatic import of nav2-simple-commander --- nav2-simple-commander.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'nav2-simple-commander.spec') diff --git a/nav2-simple-commander.spec b/nav2-simple-commander.spec index 2b4e6a5..a3fc2a3 100644 --- a/nav2-simple-commander.spec +++ b/nav2-simple-commander.spec @@ -1,21 +1,22 @@ %bcond_without tests %bcond_without weak_deps +%define ros_distro humble + %global debug_package %{nil} %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') %global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$ %global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$ %define RosPkgName nav2-simple-commander -%define ros_distro humble Name: ros-%{ros_distro}-%{RosPkgName} -Version: 1.1.9 +Version: 1.1.20 Release: 1%{?dist}%{?release_suffix} Summary: An importable library for writing mobile robot applications in python3 License: Apache-2.0 -Source0: %{name}_%{version}.orig.tar.gz +Source0: %{RosPkgName}-%{version}.tar.gz Requires: ros-%{ros_distro}-rclpy Requires: ros-%{ros_distro}-geometry-msgs @@ -41,7 +42,7 @@ Provides: %{name}-runtime = %{version}-%{release} An importable library for writing mobile robot applications in python3 %prep -%autosetup -p1 +%autosetup -c -n %{name}-%{version} %build @@ -49,6 +50,7 @@ An importable library for writing mobile robot applications in python3 # 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 @@ -56,6 +58,7 @@ if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setu # 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} @@ -75,8 +78,5 @@ else echo "RPM TESTS SKIPPED"; fi /opt/ros/%{ros_distro} %changelog -* Mon Sep 11 2023 will_niutao - 1.1.9-1 -- update version and fix compile error with gcc12 - -* Thu May 04 2023 steve stevenmacenski@gmail.com - 1.1.6-1 +* Wed Mar 25 2026 steve stevenmacenski@gmail.com - 1.1.20-1 - Autogenerated by ros-porting-tools -- cgit v1.2.3