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