Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-setuptools for
openSUSE:Factory checked in at 2025-01-16 18:30:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools (Old)
and /work/SRC/openSUSE:Factory/.python-setuptools.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setuptools"
Thu Jan 16 18:30:50 2025 rev:88 rq:1238138 version:75.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setuptools/python-setuptools.changes
2024-11-30 13:27:41.077302521 +0100
+++
/work/SRC/openSUSE:Factory/.python-setuptools.new.1881/python-setuptools.changes
2025-01-16 18:30:51.445841664 +0100
@@ -1,0 +2,19 @@
+Thu Jan 16 01:55:52 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Also provide python3-setuptools-wheel for the primary flavor.
+
+-------------------------------------------------------------------
+Wed Jan 15 15:27:23 UTC 2025 - Dominique Leuenberger <[email protected]>
+
+- Explicitly BuildRequire python-rpm-packaging: when primary flavor
+ is added, this is auto-installed by dependencies. But as we now
+ build the primary flavor separated, we have to ensure to also
+ have it present in the other cases, in order to get the python(abi)
+ dependencies added.
+
+-------------------------------------------------------------------
+Wed Jan 15 05:49:12 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Split out the primary Python build.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.sWIuU2/_old 2025-01-16 18:30:52.209873197 +0100
+++ /var/tmp/diff_new_pack.sWIuU2/_new 2025-01-16 18:30:52.213873362 +0100
@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,31 @@
%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"
%define psuffix -test
+%define pprefix python
%bcond_without test
%endif
%if "%{flavor}" == ""
@@ -29,7 +52,7 @@
# in order to avoid rewriting for subpackage generator
%define mypython python
%{?sle15_python_module_pythons}
-Name: python-setuptools%{psuffix}
+Name: %{pprefix}-setuptools%{psuffix}
Version: 75.6.0
Release: 0
Summary: Download, build, install, upgrade, and uninstall Python
packages
@@ -41,6 +64,7 @@
BuildRequires: %{python_module base >= 3.9}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+BuildRequires: python-rpm-packaging
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@@ -69,6 +93,9 @@
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
Recommends: ca-certificates-mozilla
%endif
+%if "%{flavor}" == "primary"
+Provides: %{mypython}3-setuptools = %{version}-%{release}
+%endif
%python_subpackages
%description
@@ -79,6 +106,9 @@
%package wheel
Summary: The setuptools wheel for custom tests and install requirements
Requires: %mypython(abi) = %python_version
+%if "%{flavor}" == "primary"
+Provides: %{mypython}3-setuptools-wheel = %{version}-%{release}
+%endif
%description wheel
This packages provides the setuptools wheel as separate file for cases where
++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.sWIuU2/_old 2025-01-16 18:30:52.245874683 +0100
+++ /var/tmp/diff_new_pack.sWIuU2/_new 2025-01-16 18:30:52.249874847 +0100
@@ -1,4 +1,5 @@
<multibuild>
<package>test</package>
+ <package>primary</package>
</multibuild>