From cdfde24fc4d7c427210868e2ae8eb10e09f481cd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:37:45 +0100 Subject: [PATCH] -py3: provide python-setuptools; -py36: remove conflicting obsolete for python-setuptools-devel [release 53.0.0-2mamba;Thu Feb 04 2021] --- python-setuptools.spec | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index 2a1065a..cd7523f 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -1,12 +1,12 @@ Name: python-setuptools Version: 53.0.0 -Release: 1mamba +Release: 2mamba Summary: Download, build, install, upgrade and uninstall Python packages Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://pypi.python.org/pypi/setuptools +URL: https://pypi.python.org/pypi/setuptools Source: http://pypi.debian.net/setuptools/setuptools-%{version}.tar.gz Source1: psfl.txt Source2: zpl.txt @@ -24,12 +24,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages. This package contains the runtime components of setuptools, necessary to execute the software that requires pkg_resources.py. -%if 0%{?with_pyver} +%if "0%{?with_pyver}" == "03" %define py_requires_append \ +Provides: python-setuptools \ Provides: python-setuptools-devel \ Obsoletes: python-setuptools-devel <= 51.0.0-1mamba \ Provides: python-setuptools%{?pyappend:-%pyappend}-devel \ Obsoletes: python-setuptools%{?pyappend:-%pyappend}-devel <= 51.0.0-1mamba +%else +%define py_requires_append \ +Provides: python-setuptools%{?pyappend:-%pyappend}-devel \ +Obsoletes: python-setuptools%{?pyappend:-%pyappend}-devel <= 51.0.0-1mamba +%endif + +%if 0%{?with_pyver} %pyver_package %endif @@ -85,6 +93,9 @@ rm -f %{buildroot}%{_bindir}/easy_install %{python_sitearch}/setuptools-%{version}-py%{python_version}.egg-info/* %changelog +* Thu Feb 04 2021 Silvan Calarco 53.0.0-2mamba +- -py3: provide python-setuptools; -py36: remove conflicting obsolete for python-setuptools-devel + * Mon Feb 01 2021 Silvan Calarco 53.0.0-1mamba - update to 53.0.0