From 7057230a01f944dafd741bc6faee80d6eb8d317e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:39:59 +0100 Subject: [PATCH] rebuilt with python3 [release 3.6.1-2mamba;Thu Mar 18 2021] --- python-singledispatch.spec | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/python-singledispatch.spec b/python-singledispatch.spec index b647a34..8ce815d 100644 --- a/python-singledispatch.spec +++ b/python-singledispatch.spec @@ -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 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 3.6.1-2mamba +- rebuilt with python3 + +* Fri Feb 26 2021 Automatic Build System 3.6.1-1mamba +- automatic version update by autodist + +* Sun Feb 21 2021 Automatic Build System 3.6.0-1mamba +- automatic version update by autodist + * Sat Aug 10 2019 Silvan Calarco 3.4.0.3-2mamba - require python-six