Accepting request 1330931 from devel:languages:python
- Fix suse_version check to make sure that primary builds for SLE-16 series - 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/request/show/1330931 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=95
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 29 14:55:29 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Fix suse_version check to make sure that primary builds for SLE-16
|
||||
series
|
||||
- Add pythons_for_pypi macro. This macro will help to build the python
|
||||
minimal stack for different python versions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 1 12:37:12 UTC 2026 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if 0%{?suse_version} >= 1650
|
||||
%if 0%{?suse_version} >= 1600
|
||||
%if "%{flavor}" == "primary"
|
||||
# this one is goes into Ring0: Bootstrap for primary python stack
|
||||
%define pprefix %{primary_python}
|
||||
@@ -51,7 +51,19 @@ ExclusiveArch: do-not-build
|
||||
|
||||
# in order to avoid rewriting for subpackage generator
|
||||
%define mypython python
|
||||
|
||||
%if "%{flavor}" == ""
|
||||
%{?pythons_for_pypi}
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
|
||||
%if "%{flavor}" == "" && "%{shrink:%{pythons}}" == ""
|
||||
# Exclude for local osc build: unresolvable
|
||||
%define python_module() empty-python-buildset
|
||||
# Exclude for obs server
|
||||
ExclusiveArch: do-not-build
|
||||
%endif
|
||||
|
||||
Name: %{pprefix}-setuptools%{psuffix}
|
||||
Version: 80.9.0
|
||||
Release: 0
|
||||
|
||||
Reference in New Issue
Block a user