diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-15 17:28:40 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-15 17:28:40 +0000 |
| commit | 1ac6c1acae94d7d3fe4df27ed5776bdb714ed957 (patch) | |
| tree | fdec337e439a01412abebd22d315a58d67cedc22 | |
| parent | d519a20cdd399c0e62264555d40a23186e7c4ce9 (diff) | |
automatic import of ros-humble-mobileye-560-660-msgsopeneuler24.03_LTS
| -rw-r--r-- | mobileye-560-660-msgs.spec | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mobileye-560-660-msgs.spec b/mobileye-560-660-msgs.spec index e596940..2f16cb3 100644 --- a/mobileye-560-660-msgs.spec +++ b/mobileye-560-660-msgs.spec @@ -15,6 +15,7 @@ Source0: https://github.com/astuff/astuff_sensor_msgs/archive/master.tar.gz#/ %global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$ %global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$ +BuildRequires: cmake BuildRequires: ros-%{ros_distro}-ament-cmake BuildRequires: ros-%{ros_distro}-builtin-interfaces BuildRequires: ros-%{ros_distro}-ros-environment @@ -34,13 +35,11 @@ Provides: %{name}-runtime = %{version}-%{release} %description Message definitions for the Mobileye 560/660 sensor, part of the -astuff_sensor_msgs collection. +astuff_sensor_msgs monorepo. Provides ROS 2 message types for +Mobileye 560/660 detection and obstacle data. %prep -%setup -q -n astuff_sensor_msgs-master -# 源码包为 monorepo,目标子包在子目录中 -cp -r %{RosPkgNameUnderscore}/* . -cp %{RosPkgNameUnderscore}/.* . 2>/dev/null || true +%autosetup -n astuff_sensor_msgs-master %build source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true @@ -56,7 +55,7 @@ mkdir -p .obj && cd .obj -USHARE_INSTALL_PREFIX -ULIB_SUFFIX \ -DSETUPTOOLS_DEB_LAYOUT=OFF \ -DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON \ - .. + ../%{RosPkgNameUnderscore} make %{?_smp_mflags} %install |
