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