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:
Egbert Eich 2022-01-05 18:15:31 +00:00 committed by Git OBS Bridge
parent 9e974f6bfa
commit 7fda5fb50e
4 changed files with 15 additions and 5 deletions

View File

@ -5,8 +5,8 @@
<param name="package-meta">no</param>
<param name="exclude">.git</param>
<param name="filename">suse-hpc</param>
<param name="versionformat">0.4.%h</param>
<param name="revision">5023230a033b870c3e343ffcd1a386b15ff70a01</param>
<param name="versionformat">0.5.%cd.%h</param>
<param name="revision">07cc46c5ab791219e5971581868fd20b7d661d32</param>
<param name="extract">general/dlinfo.c</param>
<param name="extract">general/macros.hpc</param>
<param name="extract">general/hpc_elf.pl</param>
@ -17,4 +17,7 @@
<param name="file">suse-hpc*.tar</param>
<param name="compression">gz</param>
</service>
<service mode="disabled" name="set_version">
<param name="basename">suse-hpc</param>
</service>
</services>

View File

@ -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}}}

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 5 16:00:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to version 0.5.20211210.07cc46c
* support python 3.10 version string (#8)
- Update _service to save git date and hash to version
-------------------------------------------------------------------
Sat Oct 23 09:08:29 UTC 2021 - Egbert Eich <eich@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package suse-hpc
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@ Summary: SUSE HPC Environment
License: BSD-3-Clause
Group: Productivity/Clustering/Computing
Name: suse-hpc
Version: 0.5
Version: 0.5.20211210.07cc46c
Release: 0
Source0: macros.hpc
Source1: dlinfo.c