diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-03-30 06:57:13 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-03-30 06:57:13 +0000 |
| commit | 6763fbe5239980a36fd460c5fac82748d286a99b (patch) | |
| tree | 739a617a8a629db892768abd9d507215fd566dbe | |
| parent | a7fdbd9f53bea3641b2872abf6903498aa32e1e6 (diff) | |
automatic import of nav2-simple-commanderopeneuler24.03_LTS
| -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} |
