17
0
2023-04-26 20:44:24 +00:00
committed by Git OBS Bridge
parent f849c28820
commit 3d85ddad00

View File

@@ -52,13 +52,8 @@ A library for installing Python wheels.
%if !%{with test}
%build
# Use defined python if sle15_python_module_pythons, in other case use
# the default python3 module to build
%if %{defined sle15_python_module_pythons}
python3.11 -m flit_core.wheel
%else
python3 -m flit_core.wheel
%endif
export apython3=$(find %_bindir -name 'python3*[0-9]' -print -quit)
$apython3 -m flit_core.wheel
%endif