diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-03-30 10:24:22 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-03-30 10:24:22 +0000 |
| commit | b7daae54b78f20677d96b1e9fe0806e7cdf7bc9e (patch) | |
| tree | a12c0678acd0decbb76892feb63b84a598396f60 /rtabmap-python.spec | |
| parent | 7fde3c7ffee8847e1ffcae545d1595b51bc00c47 (diff) | |
automatic import of rtabmap-pythonopeneuler24.03_LTS
Diffstat (limited to 'rtabmap-python.spec')
| -rw-r--r-- | rtabmap-python.spec | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rtabmap-python.spec b/rtabmap-python.spec index 4d47dcf..01747a5 100644 --- a/rtabmap-python.spec +++ b/rtabmap-python.spec @@ -1,4 +1,4 @@ -%bcond_without tests +%bcond_with tests %bcond_without weak_deps %define ros_distro humble @@ -37,7 +37,7 @@ Provides: %{name}-runtime = %{version}-%{release} RTAB-Map's python package. %prep -%autosetup -c -n %{name}-%{version} +%autosetup -n %{RosPkgName}-%{version} -p1 %build @@ -45,7 +45,6 @@ RTAB-Map's python package. # 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 @@ -53,7 +52,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} |
