diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-04-03 09:44:10 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-04-03 09:44:10 +0000 |
| commit | f55c8064ab92f162cefefb14ff1929a33d6b7ec7 (patch) | |
| tree | 1670ea273d6f091661c4a13957a1a315ee73a736 | |
| parent | b7e1f44c4041532ce7f9b1acf595029e234a650e (diff) | |
automatic import of ros2cliopeneuler24.03_LTS
| -rw-r--r-- | ros2cli.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ros2cli.spec b/ros2cli.spec index 9883b2f..08a619e 100644 --- a/ros2cli.spec +++ b/ros2cli.spec @@ -54,7 +54,7 @@ Framework for ROS 2 command line tools. # 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 @@ -62,7 +62,7 @@ cd %{RosPkgName}-%{version} # 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} |
