diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-16 02:46:37 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-16 02:46:37 +0000 |
| commit | 654fbfd1d29855446ab67f146eafcbfcad54ef7e (patch) | |
| tree | 2e5dc92a0ac9d7f987f9c348ed55e30a6e450cd6 | |
| parent | 191537b7ab0d7889aefa4877fd249e11892278f7 (diff) | |
automatic import of ros-humble-nao-meshesopeneuler24.03_LTS_SP3
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | nao-meshes.spec | 21 | ||||
| -rw-r--r-- | sources | 2 |
3 files changed, 16 insertions, 8 deletions
@@ -1 +1,2 @@ /nao-meshes-2.1.2-1.tar.gz +/25780ffd9325c3af3d63ecf76e1c11ca08ea26b4.tar.gz diff --git a/nao-meshes.spec b/nao-meshes.spec index ec2e76e..280c10f 100644 --- a/nao-meshes.spec +++ b/nao-meshes.spec @@ -1,14 +1,19 @@ %define ros_distro humble %define RosPkgName nao-meshes -%define src_version 2.1.2-1 +%global commit 25780ffd9325c3af3d63ecf76e1c11ca08ea26b4 Name: ros-%{ros_distro}-%{RosPkgName} Version: 2.1.2 Release: 1%{?dist} Summary: ROS2 Meshes for the NAO robot License: Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License -URL: https://github.com/ros-naoqi/nao_meshes2/tree/main -Source0: %{RosPkgName}-%{src_version}.tar.gz +URL: https://github.com/ros-naoqi/nao_meshes2 +# GitHub commit 归档,解压根目录为纯完整 SHA(spec-rules-ros §2 实踩纪律) +Source0: https://github.com/ros-naoqi/nao_meshes2/archive/%{commit}.tar.gz#/%{commit}.tar.gz + +# 上游 CMakeLists.txt 第 21 行硬编码架构检查:仅提供 x86/x86_64 预编译安装器 +# aarch64 及其他架构在 cmake 配置阶段直接 FATAL_ERROR,无法绕过 +ExclusiveArch: x86_64 %global debug_package %{nil} %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') @@ -26,10 +31,12 @@ Provides: %{name}-doc = %{version}-%{release} Provides: %{name}-runtime = %{version}-%{release} %description -ROS2 Meshes for the NAO robot +ROS2 Meshes for the NAO robot. Provides mesh and texture assets for +the SoftBank Robotics NAO robot, installed under the ROS 2 share prefix. %prep -%autosetup -n %{RosPkgName}-%{src_version} +# GitHub commit 归档解压根目录为纯完整 SHA(非 <repo>-<sha>) +%autosetup -n %{commit} %build source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true @@ -57,5 +64,5 @@ make install DESTDIR=%{buildroot} /opt/ros/%{ros_distro} %changelog -* Wed Sep 16 2026 ai-importer <ai-importer@openeuler.org> - 2.1.2-1 -- Initial import (ROS batch) +* Tue Sep 16 2026 ai-importer <ai-importer@openeuler.org> - 2.1.2-1 +- Initial import; restrict to x86_64 (upstream installer is x86-only) @@ -1 +1 @@ -772450e5c0abe642a6f90b7ce2a0b550 nao-meshes-2.1.2-1.tar.gz +328496a171607b786a93e6d962fdfd2e 25780ffd9325c3af3d63ecf76e1c11ca08ea26b4.tar.gz |
