-py3: provide python-setuptools; -py36: remove conflicting obsolete for python-setuptools-devel [release 53.0.0-2mamba;Thu Feb 04 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:37:45 +01:00
parent 6161b87f81
commit cdfde24fc4

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 53.0.0-2mamba
- -py3: provide python-setuptools; -py36: remove conflicting obsolete for python-setuptools-devel
* Mon Feb 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 53.0.0-1mamba
- update to 53.0.0