17
0

Accepting request 1082565 from home:dirkmueller:acdc:as_python3_module

- add sle15_python_module_pythons (jsc#PED-68)

OBS-URL: https://build.opensuse.org/request/show/1082565
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-installer?expand=0&rev=16
This commit is contained in:
2023-04-25 16:01:02 +00:00
committed by Git OBS Bridge
parent 77b5f98379
commit f849c28820
2 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Apr 24 16:05:22 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Use python311 to build if sle15_python_module_pythons is defined.
-------------------------------------------------------------------
Fri Apr 21 12:26:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Tue Mar 28 03:51:53 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -24,6 +24,7 @@
%define pkg_suffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-installer%{pkg_suffix}
Version: 0.7.0
Release: 0
@@ -50,7 +51,15 @@ A library for installing Python wheels.
%if !%{with test}
%build
python3 -m flit_core.wheel
# 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
%endif
%if !%{with test}