|
|
8ef169 |
%global owner docker
|
|
|
8ef169 |
%global project docker-py
|
|
|
b8cd13 |
%global commit 997e583ea9a7b33113edd91d5bee73d25d720448
|
|
|
17b382 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
b8cd13 |
%global docker_pycreds_pypi_name docker-pycreds
|
|
|
c4e7b9 |
%global docker_py_version 1.10.6
|
|
|
c4e7b9 |
%global docker_pycreds_version 0.3.0
|
|
|
17b382 |
|
|
|
8ef169 |
Name: python-%{project}
|
|
|
c4e7b9 |
Version: %{docker_py_version}
|
|
|
c4e7b9 |
Epoch: 1
|
|
|
fd444e |
Release: 9%{?dist}
|
|
|
17b382 |
Summary: An API client for docker written in Python
|
|
|
17b382 |
License: ASL 2.0
|
|
|
8ef169 |
URL: https://github.com/%{owner}/%{project}/
|
|
|
8ef169 |
Source0: https://github.com/%{owner}/%{project}/archive/%{commit}/%{project}-%{commit}.tar.gz
|
|
|
331acb |
Source1: https://files.pythonhosted.org/packages/source/d/%{docker_pycreds_pypi_name}/%{docker_pycreds_pypi_name}-%{docker_pycreds_version}.tar.gz
|
|
|
8ef169 |
Patch1: remote-inspection.patch
|
|
|
b8cd13 |
Patch2: setup-Neuter-extras_require-that-doesn-t-work-on-Cen.patch
|
|
|
331acb |
# https://bugzilla.redhat.com/show_bug.cgi?id=1486189
|
|
|
331acb |
Patch3: implement-cpu_rt_-switches.patch
|
|
|
5b57c4 |
# This patch fixes https://bugzilla.redhat.com/show_bug.cgi?id=1501782 and also
|
|
|
5b57c4 |
# contains all the fixes which happened in utils/socket.py; this module covers
|
|
|
5b57c4 |
# the streaming connections, custom protocol of exec/attach and other
|
|
|
5b57c4 |
# socket-related operations
|
|
|
5b57c4 |
Patch4: backport-util-socket-fixes-rhbz1501782.patch
|
|
|
fd444e |
# https://bugzilla.redhat.com/show_bug.cgi?id=1687227
|
|
|
fd444e |
Patch5: backport-init-and-init_path-to-create_host_config.patch
|
|
|
8ef169 |
|
|
|
17b382 |
BuildArch: noarch
|
|
|
17b382 |
BuildRequires: python2-devel
|
|
|
17b382 |
BuildRequires: python-setuptools
|
|
|
8ef169 |
|
|
|
8ef169 |
Requires: python-requests
|
|
|
8ef169 |
Requires: python-websocket-client >= 0.32.0
|
|
|
8ef169 |
Requires: python-six >= 1.4.0
|
|
|
b8cd13 |
Requires: python-ipaddress
|
|
|
b8cd13 |
Requires: python-backports-ssl_match_hostname
|
|
|
b8cd13 |
Requires: python-docker-pycreds
|
|
|
17b382 |
|
|
|
8ec2ab |
Obsoletes: docker-python <= 1.4.0-115.x86_64
|
|
|
2611ac |
Provides: docker-python = %{version}-%{release}
|
|
|
2611ac |
# docker-python Provides: python-docker
|
|
|
2611ac |
Provides: python-docker = %{version}-%{release}
|
|
|
17b382 |
|
|
|
17b382 |
%description
|
|
|
17b382 |
%{summary}
|
|
|
17b382 |
|
|
|
17b382 |
|
|
|
b8cd13 |
%package -n python-docker-pycreds
|
|
|
b8cd13 |
Summary: Python bindings for the docker credentials store API
|
|
|
b8cd13 |
License: ASL 2.0
|
|
|
c4e7b9 |
Version: %{docker_pycreds_version}
|
|
|
b8cd13 |
URL: https://github.com/shin-/dockerpy-creds/
|
|
|
b8cd13 |
BuildArch: noarch
|
|
|
b8cd13 |
Requires: python-six
|
|
|
b8cd13 |
|
|
|
b8cd13 |
%description -n python-docker-pycreds
|
|
|
b8cd13 |
Python bindings for the docker credentials store API
|
|
|
b8cd13 |
|
|
|
17b382 |
|
|
|
17b382 |
%prep
|
|
|
8ef169 |
%setup -q -n %{project}-%{commit}
|
|
|
b8cd13 |
%patch1 -p 1
|
|
|
b8cd13 |
%patch2 -p 1
|
|
|
331acb |
%patch3 -p 1
|
|
|
5b57c4 |
%patch4 -p 1
|
|
|
fd444e |
%patch5 -p 1
|
|
|
fd444e |
gzip -dc %{SOURCE1} | tar -xf -
|
|
|
b8cd13 |
|
|
|
17b382 |
|
|
|
17b382 |
%build
|
|
|
17b382 |
%{__python} setup.py build
|
|
|
b8cd13 |
pushd %{docker_pycreds_pypi_name}-%{docker_pycreds_version}
|
|
|
b8cd13 |
%{__python} setup.py build
|
|
|
17b382 |
popd
|
|
|
b8cd13 |
|
|
|
17b382 |
|
|
|
17b382 |
%install
|
|
|
17b382 |
%{__python} setup.py install --root %{buildroot}
|
|
|
b8cd13 |
pushd %{docker_pycreds_pypi_name}-%{docker_pycreds_version}
|
|
|
b8cd13 |
%{__python} setup.py install --root %{buildroot}
|
|
|
17b382 |
popd
|
|
|
8ef169 |
|
|
|
17b382 |
|
|
|
17b382 |
%files
|
|
|
17b382 |
%doc LICENSE README.md
|
|
|
17b382 |
%{python_sitelib}/docker
|
|
|
c4e7b9 |
%{python_sitelib}/docker_py-%{docker_py_version}*
|
|
|
17b382 |
|
|
|
b8cd13 |
|
|
|
b8cd13 |
%files -n python-docker-pycreds
|
|
|
b8cd13 |
%doc %{docker_pycreds_pypi_name}-%{docker_pycreds_version}/LICENSE %{docker_pycreds_pypi_name}-%{docker_pycreds_version}/README.md
|
|
|
b8cd13 |
%{python_sitelib}/dockerpycreds
|
|
|
b8cd13 |
%{python_sitelib}/docker_pycreds-%{docker_pycreds_version}*
|
|
|
b8cd13 |
|
|
|
17b382 |
|
|
|
17b382 |
%changelog
|
|
|
fd444e |
* Fri Mar 22 2019 Tomas Tomecek <ttomecek@redhat.com> - 1:1.10.6-9
|
|
|
fd444e |
- backport init and init_path to create_host_config (#1687227)
|
|
|
fd444e |
|
|
|
2611ac |
* Tue Dec 04 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 1:1.10.6-8
|
|
|
2611ac |
- Provides: python-docker for compatibility with old docker-python (#1655833)
|
|
|
2611ac |
|
|
|
c4e7b9 |
* Tue Oct 30 2018 Tomas Tomecek <ttomecek@redhat.com> - 1:1.10.6-7
|
|
|
c4e7b9 |
- Rebase pycreds to 0.3.0
|
|
|
c4e7b9 |
|
|
|
c4e7b9 |
* Thu Oct 25 2018 Tomas Tomecek <ttomecek@redhat.com> - 1:1.10.6-6
|
|
|
c4e7b9 |
- increase epoch so pycreds can be updated
|
|
|
c4e7b9 |
|
|
|
c4e7b9 |
* Thu Oct 25 2018 Tomas Tomecek <ttomecek@redhat.com> - 1.10.6-5
|
|
|
c4e7b9 |
- use correct version for pycreds #1641795
|
|
|
c4e7b9 |
|
|
|
5b57c4 |
* Thu May 10 2018 Tomas Tomecek <ttomecek@redhat.com> - 1.10.6-4
|
|
|
5b57c4 |
- Resolve #1501782: don't break on 0-length frames
|
|
|
5b57c4 |
|
|
|
331acb |
* Wed Sep 06 2017 Tomas Tomecek <ttomecek@redhat.com> - 1.10.6-3
|
|
|
331acb |
- fix the backport of cpu_rt_* options
|
|
|
331acb |
|
|
|
331acb |
* Mon Sep 04 2017 Tomas Tomecek <ttomecek@redhat.com> - 1.10.6-2
|
|
|
331acb |
- backport cpu_rt_* options, rhbz#1486189
|
|
|
331acb |
|
|
|
b8cd13 |
* Tue Dec 20 2016 Tomas Tomecek <ttomecek@redhat.com> - 1.10.6-1
|
|
|
b8cd13 |
- update to 1.10.6
|
|
|
b8cd13 |
|
|
|
2e7477 |
* Wed Sep 07 2016 Lokesh Mandvekar <lsm5@redhat.com> - 1.9.0-1
|
|
|
2e7477 |
- Resolves: #1374058 - rebase to upstream 1.9.0
|
|
|
2e7477 |
|
|
|
8ef169 |
* Fri Mar 04 2016 Tomas Tomecek <ttomecek@redhat.com> - 1.7.2-1
|
|
|
8ef169 |
- new upstream release: 1.7.2
|
|
|
8ef169 |
|
|
|
8ef169 |
* Wed Jan 13 2016 Tomas Tomecek <ttomecek@redhat.com> - 1.6.0-1
|
|
|
8ef169 |
- update to 1.6.0
|
|
|
8ef169 |
|
|
|
8ec2ab |
* Wed Nov 04 2015 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.0-118
|
|
|
8ec2ab |
- Resolves: rhbz#1254579 - previous docker-python was archful
|
|
|
8ec2ab |
|
|
|
17b382 |
* Wed Sep 23 2015 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.0-117
|
|
|
17b382 |
- obsoletes docker-python
|
|
|
17b382 |
|
|
|
17b382 |
* Wed Sep 23 2015 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.0-116
|
|
|
17b382 |
- built @rhatdan/master commit#54a154d
|
|
|
17b382 |
|
|
|
17b382 |
* Fri Jun 19 2015 Lokesh Mandvekar <lsm5@redhat.com> - 1.2.3-1
|
|
|
17b382 |
- Rebase to 1.2.3
|
|
|
17b382 |
|
|
|
17b382 |
* Thu Jun 18 2015 Lokesh Mandvekar <lsm5@redhat.com> - 1.2.2-1
|
|
|
17b382 |
- update to 1.2.2
|
|
|
17b382 |
- do not enforce min VR on python-coverage
|
|
|
17b382 |
- test only if docker.sock is writable
|
|
|
17b382 |
|
|
|
17b382 |
* Wed Feb 25 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.0.0-1
|
|
|
17b382 |
- update to upstream 1.0.0
|
|
|
17b382 |
- Resolves: rhbz#1195627 - don't (B)R docker
|
|
|
17b382 |
- use github url instead of pypi
|
|
|
17b382 |
- run tests in check if /run/docker.sock exists
|
|
|
17b382 |
|
|
|
17b382 |
* Wed Jan 14 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.7.1-1
|
|
|
17b382 |
- Resolves: rhbz#1182003 - Update to 0.7.1
|
|
|
17b382 |
|
|
|
17b382 |
* Thu Dec 25 2014 Igor Gnatenko <ignatenko@mirantis.com> - 0.7.0-1
|
|
|
17b382 |
- Update to 0.7.0 (RHBZ #1176950)
|
|
|
17b382 |
|
|
|
17b382 |
* Mon Dec 01 2014 Tomas Radej <tradej@redhat.com> - 0.6.0-2
|
|
|
17b382 |
- Added Python 3 subpackage
|
|
|
17b382 |
|
|
|
17b382 |
* Fri Nov 21 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.6.0-1
|
|
|
17b382 |
- Resolves: rhbz#1160293 - update to 0.6.0
|
|
|
17b382 |
|
|
|
17b382 |
* Thu Oct 23 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.5.3-2
|
|
|
17b382 |
- Resolves: rhbz#1145895
|
|
|
17b382 |
- versioned python-requests req only for f21+
|
|
|
17b382 |
|
|
|
17b382 |
* Wed Oct 22 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.5.3-1
|
|
|
17b382 |
- Resolves: rhbz#1153991 - update to 0.5.3
|
|
|
17b382 |
|
|
|
17b382 |
* Tue Sep 23 2014 Tom Prince <tom.prince@clusterhq.com> - 0.5.0-2
|
|
|
17b382 |
- Specify depedencies to match those in setup.py
|
|
|
17b382 |
|
|
|
17b382 |
* Mon Sep 22 2014 Tom Prince <tom.prince@clusterhq.com> - 0.5.0-1
|
|
|
17b382 |
- Resolves: rhbz#1145511 - version bump to 0.5.0
|
|
|
17b382 |
|
|
|
17b382 |
* Tue Aug 26 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.4.0-3
|
|
|
17b382 |
- correct bogus date
|
|
|
17b382 |
|
|
|
17b382 |
* Tue Aug 26 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.4.0-2
|
|
|
17b382 |
- rewrite BR&R conditionals for docker/docker-io
|
|
|
17b382 |
|
|
|
17b382 |
* Thu Aug 21 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.4.0-1
|
|
|
17b382 |
- update to 0.4.0
|
|
|
17b382 |
- Resolves: rhbz#1132604 (epel7 only)
|
|
|
17b382 |
|
|
|
17b382 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
|
|
|
17b382 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
17b382 |
|
|
|
17b382 |
* Sat Jul 12 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.3.2-1
|
|
|
17b382 |
- version bump to 0.3.2
|
|
|
17b382 |
- Resolves: rhbz#1097415
|
|
|
17b382 |
|
|
|
17b382 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-9
|
|
|
17b382 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
17b382 |
|
|
|
17b382 |
* Mon Feb 10 2014 Lokesh Mandvekar <lsm5@redhat.com> 0.2.3-8
|
|
|
17b382 |
- Bug 1063369 - Fix APIError for python-requests-1.1 on rhel6
|
|
|
17b382 |
|
|
|
17b382 |
* Sat Feb 08 2014 Lokesh Mandvekar <lsm5@redhat.com> 0.2.3-7
|
|
|
17b382 |
- Bug 1048667 - disable debug package cause archful
|
|
|
17b382 |
|
|
|
17b382 |
* Fri Feb 07 2014 Lokesh Mandvekar <lsm5@redhat.com> 0.2.3-6
|
|
|
17b382 |
- doesn't need python-mock at runtime
|
|
|
17b382 |
|
|
|
17b382 |
* Thu Jan 09 2014 Lokesh Mandvekar <lsm5@redhat.com> 0.2.3-5
|
|
|
17b382 |
- python3 to be added after python3-websocket-client (BZ 1049424)
|
|
|
17b382 |
|
|
|
17b382 |
* Tue Jan 07 2014 Lokesh Mandvekar <lsm5@redhat.com> 0.2.3-4
|
|
|
17b382 |
- double '%' to comment macros
|
|
|
17b382 |
- check section not considered for now
|
|
|
17b382 |
- python3- description in python3- subpackage conditional
|
|
|
17b382 |
|
|
|
17b382 |
* Tue Jan 07 2014 Lokesh Mandvekar <lsm5@redhat.com> 0.2.3-3
|
|
|
17b382 |
- Everything goes in main package
|
|
|
17b382 |
- python3 package requires corrected
|
|
|
17b382 |
- package name python-docker-py
|
|
|
17b382 |
- both packages require docker-io
|
|
|
17b382 |
|
|
|
17b382 |
* Mon Jan 06 2014 Lokesh Mandvekar <lsm5@redhat.com> 0.2.3-2
|
|
|
17b382 |
- python3 subpackage
|
|
|
17b382 |
- upstream uses PyPI
|
|
|
17b382 |
- package owns directories it creates
|
|
|
17b382 |
- build and runtime deps updated
|
|
|
17b382 |
|
|
|
17b382 |
* Sun Jan 05 2014 Lokesh Mandvekar <lsm5@redhat.com> 0.2.3-1
|
|
|
17b382 |
- Initial fedora package
|