rebuilt for python3 [release 5.0.0-2mamba;Mon Aug 30 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 11:04:54 +01:00
parent a81c0ffd96
commit d3d5187165

View File

@ -1,22 +1,20 @@
Name: python-docker Name: python-docker
Version: 5.0.0 Version: 5.0.0
Release: 1mamba Release: 2mamba
Summary: An API client for docker written in Python Summary: An API client for docker written in Python
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/docker/docker-py URL: https://github.com/docker/docker-py
Source: https://github.com/docker/docker-py/archive/%{version}.tar.gz Source: https://github.com/docker/docker-py/archive/%{version}.tar.gz
License: Apache License 2.0 License: Apache License 2.0
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: (python3.7dist(requests) < 2.18 or python3.7dist(requests) > 2.18)
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(requests)
BuildRequires: python3.7dist(websocket-client)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%if 0%{?with_pyver}
BuildRequires: libpython%{?with_pyver}-devel
%else
BuildRequires: libpython-devel
%endif
Requires: python >= %python_version
%description %description
A Python library for the Docker Remote API. A Python library for the Docker Remote API.
@ -41,11 +39,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/docker-%{version}-py*.egg-info
%{python_sitearch}/docker-%{version}-py*.egg-info/*
%doc LICENSE README.md %doc LICENSE README.md
%changelog %changelog
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-2mamba
- rebuilt for python3
* Wed Apr 07 2021 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba * Wed Apr 07 2021 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
- automatic version update by autodist - automatic version update by autodist