forked from pool/python-setuptools
Sync with factory
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-setuptools
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -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,20 +51,35 @@ 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: 78.1.1
|
||||
Version: 80.9.0
|
||||
Release: 0
|
||||
Summary: Download, build, install, upgrade, and uninstall Python packages
|
||||
License: Apache-2.0 AND MIT AND BSD-2-Clause AND Python-2.0
|
||||
URL: https://github.com/pypa/setuptools
|
||||
Source: https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz
|
||||
Source99: python-setuptools.rpmlintrc
|
||||
Patch0: sort-for-reproducibility.patch
|
||||
# Bootstrap: Don't BuildRequire pip here!
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: python-rpm-packaging
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module build}
|
||||
|
||||
Reference in New Issue
Block a user