Compare commits

..

No commits in common. "50e73cc62d504de48eddcfe1cebd6bcf52dc7d85" and "0b27730b852bd2a809732a8eb78ee05f37f47c37" have entirely different histories.

3 changed files with 15 additions and 31 deletions

BIN
docker-5.0.3.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,38 +1,42 @@
%global _empty_manifest_terminate_build 0
Name: python-docker
Version: 7.0.0
Version: 5.0.3
Release: 1
Summary: A Python library for the Docker Engine API.
License: Apache-2.0
URL: https://github.com/docker/docker-py
Source0: https://files.pythonhosted.org/packages/source/d/docker/docker-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/ab/d2/45ea0ee13c6cffac96c32ac36db0299932447a736660537ec31ec3a6d877/docker-5.0.3.tar.gz
BuildArch: noarch
%description
A Python library for the Docker Engine API.
%package -n python3-docker
Summary: A Python library for the Docker Engine API.
Provides: python-docker = %{version}-%{release}
BuildRequires: python3-setuptools_scm
Provides: python-docker
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Requires: python3-paramiko
Requires: python3-packaging
Requires: python3-requests
Requires: python3-urllib3
Requires: python3-six
Requires: python3-websocket-client
Requires: python3-requests
Requires: python3-ipaddress
# Requires: python3-backports-ssl-match-hostname
# Requires: python3-pywin32
Requires: python3-paramiko
Requires: python3-pyOpenSSL
Requires: python3-cryptography
Requires: python3-idna
%description -n python3-docker
A Python library for the Docker Engine API.
%package help
Summary: Development documents and examples for docker
Provides: python3-docker-doc
%description help
A Python library for the Docker Engine API.
%prep
%autosetup -n docker-%{version}
@ -46,9 +50,6 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -77,23 +78,6 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Feb 27 2024 xu_ping <707078654@qq.com> - 7.0.0-1
- Upgrade version to 7.0.0
- Python 3.12 support and python 3.7 no longer supported
- Add support bind mount propagation.
* Thu Jul 06 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 6.1.3-1
- Update package to version 6.1.3
* Tue May 16 2023 wubijie <wubijie@kylinos.cn> - 6.1.2-1
- Update package to version 6.1.2
* Tue Jan 31 2023 xu_ping <xuping33@h-partners.com> - 6.0.1-2
- Add buildrequires python3-setuptools_scm to fix build error
* Mon Nov 21 2022 liqiuyu <liqiuyu@kylinos.cn> - 6.0.1-1
- Update package to version 6.0.1
* Tue Aug 02 2022 zhaoshuang <zhaoshuang@uniontech.com> - 5.0.3-1
- Update to 5.0.3