17
0

- Add pythons_for_pypi macro. This macro will help to build the python

minimal stack for different python versions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit-core?expand=0&rev=58
This commit is contained in:
2026-02-09 11:05:17 +00:00
committed by Git OBS Bridge
parent 31d30a46c0
commit a18433370c
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 9 11:04:15 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Add pythons_for_pypi macro. This macro will help to build the python
minimal stack for different python versions.
-------------------------------------------------------------------
Thu Jan 29 09:13:15 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -19,7 +19,7 @@
%define modname flit-core
%global flavor @BUILD_FLAVOR@%{nil}
%define plainpython python
%if 0%{?suse_version} >= 1550
%if 0%{?suse_version} >= 1600
# The primary python flavor is built in Factory Ring0
%if "%{flavor}" == "primary"
%define pprefix %{primary_python}
@@ -49,6 +49,9 @@ ExclusiveArch: do-not-build
%bcond_with test
%endif
%if "%{flavor}" == ""
%{?pythons_for_pypi}
%endif
%{?sle15_python_module_pythons}
%if "%{flavor}" == "" && "%{shrink:%{pythons}}" == ""