rebuilt with distdeps [release 1.16.0-2mamba;Mon May 10 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:40:38 +01:00
parent 0a356e0920
commit f504d34b58

View File

@ -1,48 +1,25 @@
Name: python-six
Version: 1.16.0
Release: 1mamba
Release: 2mamba
Summary: Python 2 and 3 compatibility utilities
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://packages.python.org/six/
Source: https://pypi.debian.net/six/six-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
BuildRequires: libpython3-devel >= 3.7.4
Requires: python >= %python_version
BuildArch: noarch
%description
Six is a Python 2 and 3 compatibility library.
It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions.
%if "%?with_pyver"
%define pyver %{with_pyver}
%define pyappend py%{with_pyver}
%define __python %(rpm --eval %{__python%{with_pyver}})
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
%define python_version %(rpm --eval %{python%{with_pyver}_version})
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
%package py%{pyver}
Group: System/Libraries/Python
Summary: %{summary}.
Requires: python-apipkg-%{?pyappend}
Provides: python%{python_version}dist(six)
Provides: python3dist(six)
Requires: udev
%py_requires
%description py%{pyver}
%{summary}.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
@ -60,14 +37,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/six-%{version}-py*.egg-info
%{python_sitearch}/six-%{version}-py*.egg-info/*
%doc LICENSE documentation/index.rst
%changelog
* Mon May 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.0-2mamba
- rebuilt with distdeps
* Wed May 05 2021 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
- automatic version update by autodist