rebuilt with python3 [release 3.6.1-2mamba;Thu Mar 18 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:39:59 +01:00
parent ed8b672267
commit 7057230a01

View File

@ -1,5 +1,5 @@
Name: python-singledispatch
Version: 3.4.0.3
Version: 3.6.1
Release: 2mamba
Summary: This library brings functools.singledispatch from Python 3.4 to Python 2.6
Group: System/Libraries
@ -7,18 +7,20 @@ Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://pypi.python.org/pypi/singledispatch
Source: https://pypi.python.org/packages/source/s/singledispatch/singledispatch-%{version}.tar.gz
Source: https://pypi.debian.net/singledispatch/singledispatch-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
BuildRequires: python-six-py3
## AUTOBUILDREQ-END
Requires: python >= %python_version
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n singledispatch-%{version}
@ -30,17 +32,28 @@ CFLAGS="%{optflags}" %{__python} setup.py build
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/singledispatch-%{version}-py*.egg-info
%{python_sitearch}/singledispatch-%{version}-py*.egg-info/*
%doc README.rst
%changelog
* Thu Mar 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.1-2mamba
- rebuilt with python3
* Fri Feb 26 2021 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Sat Aug 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0.3-2mamba
- require python-six