- Split out the primary Python build.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=282
This commit is contained in:
parent
82d3e51b86
commit
fe84c38c16
@ -1,3 +1,4 @@
|
|||||||
<multibuild>
|
<multibuild>
|
||||||
<package>test</package>
|
<package>test</package>
|
||||||
|
<package>primary</package>
|
||||||
</multibuild>
|
</multibuild>
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 15 05:49:12 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Split out the primary Python build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 22 08:40:51 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Fri Nov 22 08:40:51 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-setuptools
|
# spec file for package python-setuptools
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,8 +17,31 @@
|
|||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
%if "%{flavor}" == "primary"
|
||||||
|
# this one is goes into Ring0: Bootstrap for primary python stack
|
||||||
|
%define pprefix %{primary_python}
|
||||||
|
%define pythons %{primary_python}
|
||||||
|
%define psuffix %{nil}
|
||||||
|
%endif
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
# The rest is in Ring1
|
||||||
|
%define pprefix python
|
||||||
|
%{expand:%%define skip_%{primary_python} 1}
|
||||||
|
%define psuffix %{nil}
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
# backport and option d projects for 15.X having one or more python in the buildset don't need the Ring split for bootstrap
|
||||||
|
%if "%{flavor}" == "primary"
|
||||||
|
%define python_module() invalid-multibuild-flavor-for-15.X
|
||||||
|
ExclusiveArch: do-not-build
|
||||||
|
%else
|
||||||
|
%define pprefix python
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
|
%define pprefix python
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
%endif
|
%endif
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
@ -29,7 +52,7 @@
|
|||||||
# in order to avoid rewriting for subpackage generator
|
# in order to avoid rewriting for subpackage generator
|
||||||
%define mypython python
|
%define mypython python
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-setuptools%{psuffix}
|
Name: %{pprefix}-setuptools%{psuffix}
|
||||||
Version: 75.6.0
|
Version: 75.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Download, build, install, upgrade, and uninstall Python packages
|
Summary: Download, build, install, upgrade, and uninstall Python packages
|
||||||
@ -69,6 +92,9 @@ BuildRequires: %{python_module virtualenv >= 13.0.0}
|
|||||||
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
||||||
Recommends: ca-certificates-mozilla
|
Recommends: ca-certificates-mozilla
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{flavor}" == "primary"
|
||||||
|
Provides: %{mypython}3-setuptools = %{version}-%{release}
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user