diff --git a/python-setuptools.spec b/python-setuptools.spec index fdba0fc..5bd1605 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -1,7 +1,7 @@ Name: python-setuptools Epoch: 1 Version: 68.2.2 -Release: 1mamba +Release: 2mamba Summary: Download, build, install, upgrade and uninstall Python packages Group: System/Libraries/Python Vendor: openmamba @@ -13,17 +13,18 @@ Source1: psfl.txt Source2: zpl.txt License: PSF, ZPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython3-devel +BuildRequires: libpython311-devel ## AUTOBUILDREQ-END +BuildRequires: libpython3-devel >= 3.11.5 BuildArch: noarch %description 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}" == "03" +%if "0%{?with_pyver}" == "037" %define py_requires_append \ -Requires: python-setuptools_scm%{?pyappend:-%pyappend} \ +Requires: python3.7dist(setuptools-scm) \ Provides: python-setuptools \ Provides: python-setuptools-devel \ Obsoletes: python-setuptools-devel <= 51.0.0-1mamba \ @@ -66,9 +67,9 @@ sed -i '\,\.exe$,d;\,/tests/,d' %{name}.filelist chmod +x %{buildroot}%{python_sitearch}/setuptools/command/easy_install.py -%if "%{?pyappend}" != "py3" -rm -f %{buildroot}%{_bindir}/easy_install -%endif +#%if "%{?pyappend}" != "py3" +#rm -f %{buildroot}%{_bindir}/easy_install +#%endif %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -91,6 +92,9 @@ rm -f %{buildroot}%{_bindir}/easy_install %{python_sitearch}/setuptools-%{version}-py%{python_version}.egg-info/* %changelog +* Sat Sep 23 2023 Silvan Calarco 68.2.2-2mamba +- rebuilt with python 3.11.5 + * Thu Sep 14 2023 Automatic Build System 68.2.2-1mamba - automatic version update by autodist