- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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}}" == ""
|
||||
|
||||
Reference in New Issue
Block a user