summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-15 11:33:23 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-15 11:33:23 +0000
commitcf141d3116790f98467f4bcccf7a9972386d9dd0 (patch)
tree5c7d0a8faa9f975877c483964a58d22d75c45557
parenteedd7b9bea4c360c71052ce4cc9b1c30c305f902 (diff)
automatic import of ros-humble-eventdispatch-python
-rw-r--r--eventdispatch-python.spec9
1 files changed, 4 insertions, 5 deletions
diff --git a/eventdispatch-python.spec b/eventdispatch-python.spec
index 3d0af2e..9210c44 100644
--- a/eventdispatch-python.spec
+++ b/eventdispatch-python.spec
@@ -17,7 +17,7 @@ Source0: %{RosPkgName}-%{src_version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
-BuildRequires: python3-pip
+BuildRequires: python3-wheel
Requires: ros-%{ros_distro}-ros-workspace
@@ -36,11 +36,10 @@ python-eventdispatch for ROS2 distribution
%install
cd eventdispatch_python
-%{__python3} -m pip install --no-build-isolation --no-deps \
+%{__python3} setup.py install \
--prefix /opt/ros/%{ros_distro} \
--root %{buildroot} \
- .
-# 确保目标目录存在(pip 可能未创建空的父目录)
+ --optimize=1
mkdir -p %{buildroot}/opt/ros/%{ros_distro}
%files
@@ -52,5 +51,5 @@ mkdir -p %{buildroot}/opt/ros/%{ros_distro}
/opt/ros/%{ros_distro}/share/eventdispatch_python/
%changelog
-* Mon Sep 15 2026 ai-importer <ai-importer@openeuler.org> - 0.2.29-1
+* Tue Sep 15 2026 ai-importer <ai-importer@openeuler.org> - 0.2.29-1
- Initial import (ROS batch)