Browse code

Add requires to docker-py3 and update websocket-client to 0.44.0.

Change-Id: I6450c966cb512d99ec8cb57bc3cf489384f510a6
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4417
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

xiaolin-vmware authored on 2017/12/02 07:31:10
Showing 2 changed files
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           docker-py
5 5
 Version:        2.3.0
6
-Release:        1%{?dist}
6
+Release:        2%{?dist}
7 7
 Summary:        Python API for docker
8 8
 License:        ASL2.0
9 9
 Group:          Development/Languages/Python
... ...
@@ -37,6 +37,13 @@ Python API for docker
37 37
 Summary:        Python3 API for docker
38 38
 BuildRequires:  python3-devel
39 39
 
40
+Requires:       python3
41
+Requires:       python3-libs
42
+Requires:       docker-pycreds3
43
+Requires:       python3-requests
44
+Requires:       python3-six
45
+Requires:       python3-websocket-client
46
+
40 47
 %description -n docker-py3
41 48
 Python3 API for docker
42 49
 
... ...
@@ -66,5 +73,8 @@ python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
66 66
 %{python3_sitelib}/*
67 67
 
68 68
 %changelog
69
+*   Fri Dec 01 2017 Xiaolin Li <xiaolinl@vmware.com> 2.3.0-2
70
+-   Added docker-pycreds3, python3-requests, python3-six,
71
+-   python3-websocket-client to requires of docker-py3
69 72
 *   Sun Jun 04 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.3.0-1
70 73
 -   Initial version of docker-py for PhotonOS.
... ...
@@ -2,14 +2,14 @@
2 2
 %{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
3 3
 
4 4
 Name:           python-websocket-client
5
-Version:        0.7.0
5
+Version:        0.44.0
6 6
 Release:        1%{?dist}
7 7
 Summary:        WebSocket client for python
8 8
 License:        LGPL
9 9
 Group:          Development/Languages/Python
10
-Url:            https://pypi.python.org/packages/8f/2d/8eb061e94e29c0b35e1fd87f1c0e779f4288d7393b180ef0e5c0ee2b155e/websocket-client-%{version}.tar.gz
11
-Source0:        websocket-client-%{version}.tar.gz
12
-%define sha1    websocket-client=cb36dc1c9b0dda4d4672f0d2c812e65343f509b8
10
+Url:            https://pypi.python.org/pypi/websocket-client
11
+Source0:        websocket_client-0.44.0.tar.gz
12
+%define sha1    websocket_client=736908072e36c1f3dc5714b685e246d8090ee1df
13 13
 
14 14
 BuildRequires:  python2
15 15
 BuildRequires:  python2-libs
... ...
@@ -30,7 +30,7 @@ BuildRequires:  python3-devel
30 30
 WebSocket client for python3
31 31
 
32 32
 %prep
33
-%setup -n websocket-client-%{version}
33
+%setup -n websocket_client-%{version}
34 34
 rm -rf ../p3dir
35 35
 cp -a . ../p3dir
36 36
 
... ...
@@ -56,5 +56,7 @@ python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
56 56
 %{python3_sitelib}/*
57 57
 
58 58
 %changelog
59
+*   Thu Nov 30 2017 Xiaolin Li <xiaolinl@vmware.com> 0.44.0-1
60
+-   Update websocket_client to version 0.44.0
59 61
 *   Sun Jun 04 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.7.0-1
60 62
 -   Initial version of python WebSocket for PhotonOS.