diff options
Diffstat (limited to 'nav2-simple-commander.spec')
| -rw-r--r-- | nav2-simple-commander.spec | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nav2-simple-commander.spec b/nav2-simple-commander.spec index a3fc2a3..b23af87 100644 --- a/nav2-simple-commander.spec +++ b/nav2-simple-commander.spec @@ -1,4 +1,4 @@ -%bcond_without tests +%bcond_with tests %bcond_without weak_deps %define ros_distro humble @@ -42,7 +42,7 @@ Provides: %{name}-runtime = %{version}-%{release} An importable library for writing mobile robot applications in python3 %prep -%autosetup -c -n %{name}-%{version} +%autosetup -n %{RosPkgName}-%{version} -p1 %build @@ -50,7 +50,6 @@ An importable library for writing mobile robot applications in python3 # 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 @@ -58,7 +57,6 @@ 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} |
