diff options
Diffstat (limited to 'rtabmap-msgs.spec')
| -rw-r--r-- | rtabmap-msgs.spec | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/rtabmap-msgs.spec b/rtabmap-msgs.spec index 01c069f..561add3 100644 --- a/rtabmap-msgs.spec +++ b/rtabmap-msgs.spec @@ -1,22 +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 rtabmap-msgs -%define ros_distro humble -%define with_tests 0 Name: ros-%{ros_distro}-%{RosPkgName} -Version: 0.21.5 +Version: 0.22.1 Release: 1%{?dist}%{?release_suffix} Summary: RTAB-Map's msgs package. License: BSD -Source0: %{name}_%{version}.orig.tar.gz +Source0: %{RosPkgName}-%{version}.tar.gz Requires: ros-%{ros_distro}-builtin-interfaces Requires: ros-%{ros_distro}-std-msgs @@ -24,14 +24,17 @@ Requires: ros-%{ros_distro}-std-srvs Requires: ros-%{ros_distro}-geometry-msgs Requires: ros-%{ros_distro}-sensor-msgs Requires: ros-%{ros_distro}-rosidl-default-runtime +Requires: ros-%{ros_distro}-ros-workspace BuildRequires: ros-%{ros_distro}-builtin-interfaces BuildRequires: ros-%{ros_distro}-std-msgs BuildRequires: ros-%{ros_distro}-std-srvs BuildRequires: ros-%{ros_distro}-geometry-msgs BuildRequires: ros-%{ros_distro}-sensor-msgs +BuildRequires: ros-%{ros_distro}-ros-environment BuildRequires: ros-%{ros_distro}-ament-cmake BuildRequires: ros-%{ros_distro}-rosidl-default-generators +BuildRequires: ros-%{ros_distro}-ros-workspace %if 0%{?with_tests} %endif @@ -44,15 +47,12 @@ Provides: %{name}-runtime = %{version}-%{release} RTAB-Map's msgs package. %prep -%autosetup -p1 +%autosetup -c -n %{name}-%{version} %build # Needed to bootstrap since the ros_workspace package does not yet exist. export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages -export ROS_DISTRO=%{ros_distro} -export ROS_PYTHON_VERSION=%{python3_version} - # In case we're installing to a non-standard location, look for a setup.sh # in the install tree and source it. It will set things like # CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH. @@ -67,12 +67,11 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform} -DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \ -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ - -DCMAKE_INSTALL_LIBDIR="/opt/ros/%{ros_distro}/lib" \ -DSETUPTOOLS_DEB_LAYOUT=OFF \ %if !0%{?with_tests} -DBUILD_TESTING=OFF \ %endif - .. + ../%{RosPkgName}-%{version} %make_build @@ -107,5 +106,5 @@ else echo "RPM TESTS SKIPPED"; fi /opt/ros/%{ros_distro} %changelog -* Fri May 23 2025 Mathieu Labbe matlabbe@gmail.com - 0.21.5-1 +* Wed Mar 25 2026 Mathieu Labbe matlabbe@gmail.com - 0.22.1-1 - Autogenerated by ros-porting-tools |
