forked from pool/suse-hpc
Accepting request 944071 from home:bnavigator:branches:science:HPC
python310 has been enabled today. - Update to version 0.5.20211210.07cc46c * support python 3.10 version string (#8) - Update _service to save git date and hash to version OBS-URL: https://build.opensuse.org/request/show/944071 OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=58
This commit is contained in:
@@ -498,7 +498,7 @@ When this package gets updated it installs the latest version of %name. \
|
||||
# same for non-singlespec (using internal %%_hpc_python3)
|
||||
%hpc_python_sitearch_no_singlespec %{_hpc_python_sysconfig_path %{?_hpc_python3:/usr/bin/python3}%{!?_hpc_python3:%{expand:%__%{python_flavor}}} platlib %{?hpc_prefix}}
|
||||
|
||||
%_hpc_python_ver() %(%1 -c "import sys as s;print(s.version[:3]);")
|
||||
%_hpc_python_ver() %(%1 -c "import sysconfig as s; print(s.get_config_var('py_version_short'));")
|
||||
|
||||
# get the (abbreviated) python version used for package and directory names (singlespec).
|
||||
%hpc_python_version %{_hpc_python_ver %{expand:%__%{python_flavor}}}
|
||||
|
Reference in New Issue
Block a user