diff options
| -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} |
