Browse code

Reduce the size of minimal installation by seperate pip, setuptools, xml, and curses from python3.

Change-Id: Ibff6d73d186b2a3408f8f64f254b9644c63bf591
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2887
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Divya Thaluru <dthaluru@vmware.com>

xiaolin-vmware authored on 2017/06/21 09:10:07
Showing 64 changed files
... ...
@@ -13,7 +13,7 @@
13 13
 #################################################################################
14 14
 Name:		ceph
15 15
 Version:	11.2.0
16
-Release:	6%{?dist}
16
+Release:	7%{?dist}
17 17
 Epoch:		1
18 18
 Summary:	User space components of the Ceph file system
19 19
 License:	LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and GPL-2.0-with-autoconf-exception and BSD-3-Clause and MIT
... ...
@@ -52,6 +52,8 @@ BuildRequires:	python2-devel
52 52
 BuildRequires:	python-xml
53 53
 BuildRequires:	python3
54 54
 BuildRequires:	python3-devel
55
+BuildRequires:	python3-setuptools
56
+BuildRequires:	python3-xml
55 57
 BuildRequires:	python-requests
56 58
 BuildRequires:	python-sphinx
57 59
 BuildRequires:	snappy-devel
... ...
@@ -996,6 +998,8 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
996 996
 
997 997
 
998 998
 %changelog
999
+* Thu Jun 08 2017 Xiaolin Li <xiaolinl@vmware.com> 11.2.0-7
1000
+- Add python3-setuptools and python3-xml to Buildrequires.
999 1001
 * Mon May 8 2017 Bo Gan <ganb@vmware.com> 11.2.0-6
1000 1002
 - Fix librados2 dependency
1001 1003
 * Thu Apr 27 2017 Siju Maliakkal <smaliakkal@vmware.com> 11.2.0-5
... ...
@@ -3,7 +3,7 @@
3 3
 Summary:        Utility tools for control groups of Linux
4 4
 Name:           cgroup-utils
5 5
 Version:        0.6
6
-Release:        4%{?dist}
6
+Release:        5%{?dist}
7 7
 License:        GPLv2
8 8
 Group:          Development/Libraries
9 9
 URL:            https://pypi.python.org/pypi/cgroup-utils/0.6
... ...
@@ -25,7 +25,8 @@ cgutil top is a top-like tool which shows activities of running processes in con
25 25
 %package -n     python3-cgroup-utils
26 26
 Summary:        python3-cgroup-utils
27 27
 BuildRequires:  python3-devel
28
-BuildRequires:  python3-libs
28
+BuildRequires:  python3-setuptools
29
+BuildRequires:  python3-xml
29 30
 
30 31
 %description -n python3-cgroup-utils
31 32
 %prep
... ...
@@ -67,6 +68,8 @@ popd
67 67
 %{python3_sitelib}/*
68 68
 
69 69
 %changelog
70
+*   Tue Jun 13 2017 Xiaolin Li <xiaolinl@vmware.com> 0.6-5
71
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
70 72
 *   Fri Jun 09 2017 Xiaolin Li <xiaolinl@vmware.com> 0.6-4
71 73
 -   Support space in proc name.
72 74
 *   Tue May 23 2017 Xiaolin Li <xiaolinl@vmware.com> 0.6-3
... ...
@@ -2,7 +2,7 @@
2 2
 
3 3
 Name:           cloud-init
4 4
 Version:        0.7.9
5
-Release:        5%{?dist}
5
+Release:        6%{?dist}
6 6
 Summary:        Cloud instance init scripts
7 7
 Group:          System Environment/Base
8 8
 License:        GPLv3
... ...
@@ -27,6 +27,8 @@ BuildRequires:  dbus
27 27
 BuildRequires:  python3-ipaddr
28 28
 BuildRequires:  iproute2
29 29
 BuildRequires:  automake
30
+BuildRequires:  python3-setuptools
31
+BuildRequires:  python3-xml
30 32
 
31 33
 Requires:       systemd
32 34
 Requires:       net-tools
... ...
@@ -161,6 +163,8 @@ rm -rf $RPM_BUILD_ROOT
161 161
 
162 162
 
163 163
 %changelog
164
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.9-6
165
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
164 166
 *   Mon Jun 5 2017 Julian Vassev <jvassev@vmware.com> 0.7.9-5
165 167
 -   Enable OVF datasource by default
166 168
 *   Mon May 22 2017 Kumar Kaushik <kaushikk@vmware.com> 0.7.9-4
... ...
@@ -5,7 +5,7 @@
5 5
 Summary:        A password strength-checking library.
6 6
 Name:           cracklib
7 7
 Version:        2.9.6
8
-Release:        7%{?dist}
8
+Release:        8%{?dist}
9 9
 Group:          System Environment/Libraries
10 10
 Source:         cracklib-%{version}.tar.gz
11 11
 %define sha1    cracklib-%{version}=9199e7b8830717565a844430653f5a90a04fcd65
... ...
@@ -85,6 +85,8 @@ Group:          Development/Languages/Python
85 85
 BuildRequires:  python3
86 86
 BuildRequires:  python3-libs
87 87
 BuildRequires:  python3-devel
88
+BuildRequires:  python3-setuptools
89
+BuildRequires:  python3-xml
88 90
 
89 91
 Requires:   cracklib
90 92
 Requires:   python3
... ...
@@ -209,6 +211,8 @@ rm -f %{_datadir}/cracklib/pw_dict.pwi
209 209
 %{_datadir}/locale/*
210 210
 
211 211
 %changelog
212
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.6-8
213
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
212 214
 *   Sun Jun 04 2017 Bo Gan <ganb@vmware.com> 2.9.6-7
213 215
 -   Fix script dependency
214 216
 *   Thu May 18 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.6-6
... ...
@@ -2,19 +2,19 @@
2 2
 Summary:        C extensions for Python
3 3
 Name:           cython3
4 4
 Version:        0.25.2
5
-Release:        2%{?dist}
5
+Release:        3%{?dist}
6 6
 Group:          Development/Libraries
7 7
 License:        Apache License
8 8
 URL:            http://cython.org/
9 9
 Source0:        http://cython.org/release/Cython-%{version}.tar.gz
10 10
 %define sha1 Cython=e73f5afe89792df3467cc7bccd29fc01467fc28b
11
-Vendor:		VMware, Inc.
12
-Distribution:	Photon
13
-BuildRequires:	python3
14
-BuildRequires:	python3-devel
15
-BuildRequires:	python3-libs
16
-BuildRequires:  python-xml
17
-Requires:	python3
11
+Vendor:         VMware, Inc.
12
+Distribution:   Photon
13
+BuildRequires:  python3
14
+BuildRequires:  python3-devel
15
+BuildRequires:  python3-libs
16
+BuildRequires:  python3-xml
17
+Requires:       python3
18 18
 
19 19
 %description
20 20
 Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex). It makes writing C extensions for Python as easy as Python itself.
... ...
@@ -49,9 +49,11 @@ rm -rf %{buildroot}
49 49
 %{python3_sitearch}/__pycache__/*
50 50
 
51 51
 %changelog
52
-*       Wed Apr 26 2017 Siju Maliakkal <smaliakkal@vmware.com> 0.25.2-2
53
--       Updated python3 site path
54
-*       Mon Apr 24 2017 Bo Gan <ganb@vmware.com> 0.25.2-1
55
--       Update to 0.25.2
56
-* 	Fri Jan 27 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.23.4-1
57
-- 	Initial build.
52
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.25.2-3
53
+-   Add python3-xml to python3 sub package Buildrequires.
54
+*   Wed Apr 26 2017 Siju Maliakkal <smaliakkal@vmware.com> 0.25.2-2
55
+-   Updated python3 site path
56
+*   Mon Apr 24 2017 Bo Gan <ganb@vmware.com> 0.25.2-1
57
+-   Update to 0.25.2
58
+*   Fri Jan 27 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.23.4-1
59
+-   Initial build.
... ...
@@ -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
... ...
@@ -36,6 +36,9 @@ Python API for docker
36 36
 %package -n     docker-py3
37 37
 Summary:        Python3 API for docker
38 38
 BuildRequires:  python3-devel
39
+BuildRequires:  python3-setuptools
40
+BuildRequires:  python3-xml
41
+BuildRequires:  python3-pip
39 42
 
40 43
 %description -n docker-py3
41 44
 Python3 API for docker
... ...
@@ -66,5 +69,7 @@ python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
66 66
 %{python3_sitelib}/*
67 67
 
68 68
 %changelog
69
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.3.0-2
70
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
69 71
 *   Sun Jun 04 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.3.0-1
70 72
 -   Initial version of docker-py for PhotonOS.
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           docker-pycreds
5 5
 Version:        0.2.1
6
-Release:        1%{?dist}
6
+Release:        2%{?dist}
7 7
 Summary:        Python API for docker credentials store
8 8
 License:        ASL2.0
9 9
 Group:          Development/Languages/Python
... ...
@@ -25,6 +25,8 @@ Python API for docker credentials store
25 25
 %package -n     docker-pycreds3
26 26
 Summary:        Python3 API for docker credentials store
27 27
 BuildRequires:  python3-devel
28
+BuildRequires:  python3-setuptools
29
+BuildRequires:  python3-xml
28 30
 
29 31
 %description -n docker-pycreds3
30 32
 Python3 API for docker credentials store
... ...
@@ -55,5 +57,7 @@ python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
55 55
 %{python3_sitelib}/*
56 56
 
57 57
 %changelog
58
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.2.1-2
59
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
58 60
 *   Sun Jun 04 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.2.1-1
59 61
 -   Initial version of docker-pycreds for PhotonOS.
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        ECDSA cryptographic signature library (pure python)
5 5
 Name:           ecdsa
6 6
 Version:        0.13
7
-Release:        4%{?dist}
7
+Release:        5%{?dist}
8 8
 License:        MIT
9 9
 Group:          System Environment/Security
10 10
 Vendor:         VMware, Inc.
... ...
@@ -32,7 +32,8 @@ into other protocols.
32 32
 %package -n     python3-ecdsa
33 33
 Summary:        python3-ecdsa
34 34
 BuildRequires:  python3-devel
35
-
35
+BuildRequires:  python3-setuptools
36
+BuildRequires:  python3-xml
36 37
 Requires:       python3
37 38
 %description -n python3-ecdsa
38 39
 
... ...
@@ -71,6 +72,8 @@ python3 setup.py test
71 71
 %{python3_sitelib}/*
72 72
 
73 73
 %changelog
74
+*   Mon Jun 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.13-5
75
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
74 76
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.13-4
75 77
 -   Use python2 explicitly
76 78
 *   Mon Feb 27 2017 Xiaolin Li <xiaolinl@vmware.com> 0.13-3
... ...
@@ -4,7 +4,7 @@
4 4
 Name:           gobject-introspection
5 5
 Summary:        Introspection system for GObject-based libraries
6 6
 Version:        1.52.1
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 Group:          Development/Libraries
9 9
 License:        GPLv2+, LGPLv2+, MIT
10 10
 URL:            http://live.gnome.org/GObjectIntrospection
... ...
@@ -47,6 +47,8 @@ Group:          Development/Languages
47 47
 Requires:       %{name} = %{version}-%{release}
48 48
 BuildRequires:  python3-devel
49 49
 BuildRequires:  python3-libs
50
+BuildRequires:  python3-xml
51
+Requires:       python3-xml
50 52
 Requires:       python3
51 53
 %description -n python3-gobject-introspection
52 54
 This package contains a Python package for handling the introspection
... ...
@@ -131,6 +133,8 @@ make  %{?_smp_mflags} check
131 131
 %doc %{_mandir}/man1/*.gz
132 132
 
133 133
 %changelog
134
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.52.1-3
135
+-   Add python3-xml to python3 sub package Buildrequires.
134 136
 *   Tue May 23 2017 Xiaolin Li <xiaolinl@vmware.com> 1.52.1-2
135 137
 -   Added python3 subpackage.
136 138
 *   Wed Apr 12 2017 Danut Moraru <dmoraru@vmware.com> 1.52.1-1
... ...
@@ -5,7 +5,7 @@
5 5
 Summary:        Package for Google Compute Engine Linux images
6 6
 Name:           google-compute-engine
7 7
 Version:        20170426
8
-Release:        1%{?dist}
8
+Release:        2%{?dist}
9 9
 License:        Apache License 2.0
10 10
 Group:          Development/Languages/Python
11 11
 Vendor:         VMware, Inc.
... ...
@@ -28,6 +28,8 @@ Collection of packages installed on Google supported Compute Engine images.
28 28
 Summary:        Python3 bindings for Google Compute Engine Linux images package
29 29
 BuildRequires:  python3
30 30
 BuildRequires:  python3-devel
31
+BuildRequires:  python3-setuptools
32
+BuildRequires:  python3-xml
31 33
 Requires:       python3
32 34
 Obsoletes:      google-daemon
33 35
 
... ...
@@ -84,6 +86,8 @@ python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
84 84
 %{_bindir}/set_multiqueue3
85 85
 
86 86
 %changelog
87
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 20170426-2
88
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
87 89
 *   Fri Apr 28 2017 Anish Swaminathan <anishs@vmware.com> 20170426-1
88 90
 -   Initial packaging for Photon
89 91
 
... ...
@@ -5,7 +5,7 @@
5 5
 Summary:        Message of the Day
6 6
 Name:           motd
7 7
 Version:        0.1.3
8
-Release:        4%{?dist}
8
+Release:        5%{?dist}
9 9
 License:        GPLv3
10 10
 URL:            http://github.com/rtnpro/fedora-motd
11 11
 Source0:        https://github.com/rtnpro/motdgen/archive/motdgen-a152954.tar.gz
... ...
@@ -15,6 +15,8 @@ Patch0:         strip-dnf.patch
15 15
 BuildArchitectures: noarch
16 16
 
17 17
 BuildRequires:  python3-devel
18
+BuildRequires:  python3-setuptools
19
+BuildRequires:  python3-xml
18 20
 
19 21
 Requires:       Linux-PAM
20 22
 Requires:       systemd
... ...
@@ -66,6 +68,8 @@ rm -rf %{_localstatedir}/run/motdgen
66 66
 %{_sysconfdir}/systemd/system/motdgen.service
67 67
 
68 68
 %changelog
69
+*   Mon Jun 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.1.3-5
70
+-   Add python3-setuptools and python3-xml Buildrequires.
69 71
 *   Mon Jun 12 2017 Bo Gan <ganb@vmware.com> 0.1.3-4
70 72
 -   Add grep dependency
71 73
 *   Wed May 31 2017 Xiaolin Li <xiaolinl@vmware.com> 0.1.3-3
... ...
@@ -3,7 +3,7 @@
3 3
 Summary:        Python SSH module
4 4
 Name:           paramiko
5 5
 Version:        2.1.2
6
-Release:        3%{?dist}
6
+Release:        4%{?dist}
7 7
 License:        LGPL
8 8
 Group:          System Environment/Security
9 9
 Vendor:         VMware, Inc.
... ...
@@ -35,6 +35,8 @@ BuildRequires:  python3-devel
35 35
 BuildRequires:  python3-ecdsa > 0.11
36 36
 BuildRequires:  python3-pycrypto > 2.1
37 37
 BuildRequires:  python3-cryptography
38
+BuildRequires:  python3-setuptools
39
+BuildRequires:  python3-xml
38 40
 
39 41
 Requires:       python3
40 42
 Requires:       python3-pycrypto > 2.1
... ...
@@ -79,6 +81,8 @@ python3   test.py
79 79
 %{python3_sitelib}/*
80 80
 
81 81
 %changelog
82
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.1.2-4
83
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
82 84
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.1.2-3
83 85
 -   Use python2 explicitly while building
84 86
 *   Fri May 05 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.1.2-2
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Google's data interchange format
5 5
 Name:           protobuf
6 6
 Version:        3.2.0
7
-Release:        5%{?dist}
7
+Release:        6%{?dist}
8 8
 License:        BSD-3-Clause
9 9
 Group:          Development/Libraries
10 10
 Vendor:         VMware, Inc.
... ...
@@ -60,7 +60,8 @@ Group:          Development/Libraries
60 60
 BuildRequires:  python3
61 61
 BuildRequires:  python3-libs
62 62
 BuildRequires:  python3-devel
63
-BuildRequires:  python-setuptools
63
+BuildRequires:  python3-setuptools
64
+BuildRequires:  python3-xml
64 65
 Requires:       python3
65 66
 Requires:       python3-libs
66 67
 Requires:       protobuf = %{version}-%{release}
... ...
@@ -145,6 +146,8 @@ popd
145 145
 %{_libdir}/java/protobuf/*.jar
146 146
 
147 147
 %changelog
148
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 3.2.0-6
149
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
148 150
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.2.0-5
149 151
 -   Use python2 explicitly while building
150 152
 *   Thu May 18 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.2.0-4
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        A port of the caching algorithms in httplib2 for use with requests session object.
5 5
 Name:           python-CacheControl
6 6
 Version:        0.12.3
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        Apache Software License
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -27,6 +27,8 @@ It was written because httplib2's better support for caching is often mitigated
27 27
 %package -n     python3-CacheControl
28 28
 Summary:        Python3 CacheControl
29 29
 BuildRequires:  python3-devel
30
+BuildRequires:  python3-setuptools
31
+BuildRequires:  python3-xml
30 32
 Requires:       python3-requests
31 33
 Requires:       python3-msgpack
32 34
 
... ...
@@ -67,5 +69,7 @@ popd
67 67
 %{_bindir}/doesitcache3
68 68
 
69 69
 %changelog
70
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.12.3-2
71
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
70 72
 *   Thu May 25 2017 Xiaolin Li <xiaolinl@vmware.com> 0.12.3-1
71 73
 -   Initial version
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        An asynchronous networking framework written in Python
5 5
 Name:           python-Twisted
6 6
 Version:        17.1.0
7
-Release:        5%{?dist}
7
+Release:        6%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -40,6 +40,8 @@ BuildRequires:  python3-devel
40 40
 BuildRequires:  python3-libs
41 41
 BuildRequires:  python3-incremental
42 42
 BuildRequires:  python3-zope.interface
43
+BuildRequires:  python3-setuptools
44
+BuildRequires:  python3-xml
43 45
 
44 46
 Requires:       python3
45 47
 Requires:       python3-libs
... ...
@@ -106,6 +108,8 @@ tox -e py27-tests
106 106
 %{_bindir}/cftp3
107 107
 
108 108
 %changelog
109
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 17.1.0-6
110
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
109 111
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 17.1.0-5
110 112
 -   Adding python3 scripts to bin directory
111 113
 *   Tue May 09 2017 Rongrong Qiu <rqiu@vmware.com> 17.1.0-4
... ...
@@ -3,12 +3,12 @@
3 3
 
4 4
 Name:           python-alabaster
5 5
 Version:        0.7.10
6
-Release:        2%{?dist}
6
+Release:        3%{?dist}
7 7
 Summary:        A configurable sidebar-enabled Sphinx theme
8 8
 License:        BSD
9 9
 Group:          Development/Languages/Python
10 10
 Url:            https://github.com/bitprophet/alabaster/
11
-Vendor:		VMware, Inc.
11
+Vendor:         VMware, Inc.
12 12
 Distribution:   Photon
13 13
 Source0:        https://pypi.python.org/packages/d0/a5/e3a9ad3ee86aceeff71908ae562580643b955ea1b1d4f08ed6f7e8396bd7/alabaster-%{version}.tar.gz
14 14
 %define sha1    alabaster=dba599faf1ca5541ef35ab251eb2b365ae2f25c7
... ...
@@ -29,6 +29,8 @@ Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx d
29 29
 Summary:        A configurable sidebar-enabled Sphinx theme
30 30
 BuildRequires:  python3
31 31
 BuildRequires:  python3-devel
32
+BuildRequires:  python3-setuptools
33
+BuildRequires:  python3-xml
32 34
 Requires:       python3
33 35
 Requires:       python3-libs
34 36
 
... ...
@@ -65,6 +67,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
65 65
 %{python3_sitelib}/*
66 66
 
67 67
 %changelog
68
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.10-3
69
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
68 70
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.7.10-2
69 71
 -   Changed python to python2 
70 72
 *   Tue Apr 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.7.10-1
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           python-asn1crypto
5 5
 Version:        0.22.0
6
-Release:        1%{?dist}
6
+Release:        2%{?dist}
7 7
 Summary:        A fast, pure Python library for parsing and serializing ASN.1 structures.
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
... ...
@@ -14,9 +14,6 @@ Source0:        asn1crypto-%{version}.tar.gz
14 14
 BuildRequires:  python2
15 15
 BuildRequires:  python2-libs
16 16
 BuildRequires:  python-setuptools
17
-BuildRequires:  python3
18
-BuildRequires:  python3-devel
19
-BuildRequires:  python3-libs
20 17
 
21 18
 Requires:       python2
22 19
 Requires:       python2-libs
... ...
@@ -28,6 +25,11 @@ A fast, pure Python library for parsing and serializing ASN.1 structures.
28 28
 
29 29
 %package -n     python3-asn1crypto
30 30
 Summary:        A fast, pure Python library for parsing and serializing ASN.1 structures.
31
+BuildRequires:  python3
32
+BuildRequires:  python3-devel
33
+BuildRequires:  python3-libs
34
+BuildRequires:  python3-setuptools
35
+BuildRequires:  python3-xml
31 36
 Requires:       python3
32 37
 Requires:       python3-libs
33 38
 
... ...
@@ -66,5 +68,7 @@ popd
66 66
 %{python3_sitelib}/*
67 67
 
68 68
 %changelog
69
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.22.0-2
70
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
69 71
 *   Fri May 05 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.22.0-1
70 72
 -   Initial
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Attributes without boilerplate.
5 5
 Name:           python-attrs
6 6
 Version:        16.3.0
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/attrs
9 9
 License:        MIT
10 10
 Group:          Development/Languages/Python
... ...
@@ -31,6 +31,8 @@ Summary:        python-attrs
31 31
 BuildRequires:  python3
32 32
 BuildRequires:  python3-devel
33 33
 BuildRequires:  python3-libs
34
+BuildRequires:  python3-setuptools
35
+BuildRequires:  python3-xml
34 36
 
35 37
 Requires:       python3
36 38
 Requires:       python3-libs
... ...
@@ -71,5 +73,7 @@ popd
71 71
 %{python3_sitelib}/*
72 72
 
73 73
 %changelog
74
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 16.3.0-2
75
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
74 76
 *   Mon Mar 13 2017 Xiaolin Li <xiaolinl@vmware.com> 16.3.0-1
75 77
 -   Initial packaging for Photon
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Self-service finite-state machines for the programmer on the go.
5 5
 Name:           python-automat
6 6
 Version:        0.5.0
7
-Release:        1%{?dist}
7
+Release:        3%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -51,6 +51,8 @@ BuildRequires:  python3-attrs
51 51
 BuildRequires:  python3-six
52 52
 BuildRequires:  python3-docutils
53 53
 BuildRequires:  python3-mistune
54
+BuildRequires:  python3-setuptools
55
+BuildRequires:  python3-xml
54 56
 
55 57
 Requires:       python3
56 58
 Requires:       python3-libs
... ...
@@ -99,7 +101,9 @@ popd
99 99
 %{_bindir}/automat-visualize3
100 100
 
101 101
 %changelog
102
-*   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.5.0-1
102
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.5.0-3
103
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
104
+*   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.5.0-2
103 105
 -   Separate the python3 and python2 scripts in bin directory
104 106
 *   Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 0.5.0-1
105 107
 -   Initial packaging for Photon
... ...
@@ -3,12 +3,12 @@
3 3
 
4 4
 Name:           python-babel
5 5
 Version:        2.4.0
6
-Release:        2%{?dist}
6
+Release:        3%{?dist}
7 7
 Summary:        an integrated collection of utilities that assist in internationalizing and localizing Python applications
8 8
 License:        BSD3
9 9
 Group:          Development/Languages/Python
10 10
 Url:            http://babel.pocoo.org
11
-Vendor:		VMware, Inc.
11
+Vendor:         VMware, Inc.
12 12
 Distribution:   Photon
13 13
 Source0:        https://pypi.python.org/packages/92/22/643f3b75f75e0220c5ef9f5b72b619ccffe9266170143a4821d4885198de/Babel-%{version}.tar.gz
14 14
 %define sha1    Babel=c3b247d17a34dc600c93f93f8f533029430bccb4
... ...
@@ -38,6 +38,8 @@ BuildRequires:  python3
38 38
 BuildRequires:  python3-devel
39 39
 BuildRequires:  python3-pytz
40 40
 BuildRequires:  python3-pytest
41
+BuildRequires:  python3-setuptools
42
+BuildRequires:  python3-xml
41 43
 Requires:       python3
42 44
 Requires:       python3-libs
43 45
 Requires:       python3-pytz
... ...
@@ -81,6 +83,8 @@ popd
81 81
 %{python3_sitelib}/*
82 82
 
83 83
 %changelog
84
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.4.0-3
85
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
84 86
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-2
85 87
 -   Change python to python2 and add python2 scripts to bin directory
86 88
 *   Tue Apr 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-1
... ...
@@ -6,7 +6,7 @@
6 6
 Summary:        A modern, feature-rich and highly-tunable Python client library for Apache Cassandra (2.1+)
7 7
 Name:           python-cassandra-driver
8 8
 Version:        3.10.0
9
-Release:        1%{?dist}
9
+Release:        2%{?dist}
10 10
 Url:            https://github.com/datastax/python-driver#datastax-python-driver-for-apache-cassandra
11 11
 License:        Apache 2.0
12 12
 Group:          Development/Languages/Python
... ...
@@ -35,6 +35,8 @@ BuildRequires:  cython3
35 35
 BuildRequires:  python3-devel
36 36
 BuildRequires:  python3-libs
37 37
 BuildRequires:  python3-pytest
38
+BuildRequires:  python3-setuptools
39
+BuildRequires:  python3-xml
38 40
 Requires:       python3
39 41
 Requires:       python3-libs
40 42
 
... ...
@@ -77,5 +79,7 @@ popd
77 77
 %{python3_sitelib}/*
78 78
 
79 79
 %changelog
80
+*   Tue Jun 20 2017 Xiaolin Li <xiaolinl@vmware.com> 3.10.0-2
81
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
80 82
 *   Thu Jun 15 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.10.0-1
81 83
 -   Initial packaging for Photon
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Interface for Python to call C code
5 5
 Name:           python-cffi
6 6
 Version:        1.10.0
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/cffi
9 9
 License:        MIT
10 10
 Group:          Development/Languages/Python
... ...
@@ -32,6 +32,8 @@ BuildRequires:  python3
32 32
 BuildRequires:  python3-devel
33 33
 BuildRequires:  python3-libs
34 34
 BuildRequires:  python3-pycparser
35
+BuildRequires:  python3-setuptools
36
+BuildRequires:  python3-xml
35 37
 Requires:       python3
36 38
 Requires:       python3-libs
37 39
 Requires:       python3-pycparser
... ...
@@ -71,6 +73,8 @@ popd
71 71
 %{python3_sitelib}/*
72 72
 
73 73
 %changelog
74
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.10.0-2
75
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
74 76
 *   Mon Apr 03 2017 Rongrong Qiu <rqiu@vmware.com> 1.10.0-1
75 77
 -   Update to 1.10.0
76 78
 *   Thu Mar 23 2017 Xiaolin Li <xiaolinl@vmware.com> 1.9.1-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        This library brings the updated configparser from Python 3.5 to Python 2.6-3.5.
5 5
 Name:           python-configparser
6 6
 Version:        3.5.0
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -30,6 +30,8 @@ Summary:        python-configparser
30 30
 BuildRequires:  python3
31 31
 BuildRequires:  python3-devel
32 32
 BuildRequires:  python3-libs
33
+BuildRequires:  python3-setuptools
34
+BuildRequires:  python3-xml
33 35
 Requires:       python3
34 36
 Requires:       python3-libs
35 37
 
... ...
@@ -61,6 +63,8 @@ python3 setup.py test
61 61
 %{python3_sitelib}/*
62 62
 
63 63
 %changelog
64
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 3.5.0-3
65
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
64 66
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.5.0-2
65 67
 -   Changed python to python2
66 68
 *   Thu Feb 02 2017 Xiaolin Li <xiaolinl@vmware.com> 3.5.0-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Symbolic constants in Python.
5 5
 Name:           python-constantly
6 6
 Version:        15.1.0
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/constantly
9 9
 License:        MIT
10 10
 Group:          Development/Languages/Python
... ...
@@ -31,7 +31,8 @@ Summary:        python-constantly
31 31
 BuildRequires:  python3
32 32
 BuildRequires:  python3-devel
33 33
 BuildRequires:  python3-libs
34
-
34
+BuildRequires:  python3-setuptools
35
+BuildRequires:  python3-xml
35 36
 Requires:       python3
36 37
 Requires:       python3-libs
37 38
 
... ...
@@ -71,5 +72,7 @@ popd
71 71
 %{python3_sitelib}/*
72 72
 
73 73
 %changelog
74
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 15.1.0-2
75
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
74 76
 *   Mon Mar 13 2017 Xiaolin Li <xiaolinl@vmware.com> 15.1.0-1
75 77
 -   Initial packaging for Photon
... ...
@@ -6,7 +6,7 @@
6 6
 Summary:        Code coverage measurement for Python.
7 7
 Name:           python-coverage
8 8
 Version:        4.3.4
9
-Release:        2%{?dist}
9
+Release:        3%{?dist}
10 10
 License:        Apache 2.0
11 11
 Group:          Development/Languages/Python
12 12
 Vendor:         VMware, Inc.
... ...
@@ -31,7 +31,8 @@ Coverage.py measures code coverage, typically during test execution. It uses the
31 31
 Summary:        python-coverage
32 32
 BuildRequires:  python3-devel
33 33
 BuildRequires:  python3-libs
34
-
34
+BuildRequires:  python3-setuptools
35
+BuildRequires:  python3-xml
35 36
 Requires:       python3
36 37
 Requires:       python3-libs
37 38
 
... ...
@@ -75,6 +76,8 @@ popd
75 75
 %{_bindir}/coverage-%{python3_version}
76 76
 
77 77
 %changelog
78
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 4.3.4-3
79
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
78 80
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 4.3.4-2
79 81
 -   Packaging python2 and oython3 scripts in bin directory
80 82
 *   Wed Apr 05 2017 Xiaolin Li <xiaolinl@vmware.com> 4.3.4-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Python cryptography library
5 5
 Name:           python-cryptography
6 6
 Version:        1.8.1
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/cryptography
9 9
 License:        ASL 2.0
10 10
 Group:          Development/Languages/Python
... ...
@@ -40,6 +40,8 @@ BuildRequires:  python3
40 40
 BuildRequires:  python3-devel
41 41
 BuildRequires:  python3-libs
42 42
 BuildRequires:  python3-cffi
43
+BuildRequires:  python3-setuptools
44
+BuildRequires:  python3-xml
43 45
 
44 46
 Requires:       python3
45 47
 Requires:       python3-libs
... ...
@@ -95,6 +97,8 @@ python3 setup.py test
95 95
 %{python3_sitelib}/*
96 96
 
97 97
 %changelog
98
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.8.1-3
99
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
98 100
 *   Fri May 05 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.8.1-2
99 101
 -   Added missing requires python-enum
100 102
 *   Tue Apr 04 2017 Xiaolin Li <xiaolinl@vmware.com> 1.8.1-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Library to implement a well-behaved Unix daemon process.
5 5
 Name:           python-daemon
6 6
 Version:        2.1.2
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 License:        Apache-2
9 9
 Url:            https://pypi.python.org/pypi/python-daemon/
10 10
 Group:          Development/Languages/Python
... ...
@@ -29,6 +29,8 @@ A well-behaved Unix daemon process is tricky to get right, but the required step
29 29
 Summary:        Python3-daemon
30 30
 BuildRequires:  python3-devel
31 31
 BuildRequires:  python3-docutils
32
+BuildRequires:  python3-setuptools
33
+BuildRequires:  python3-xml
32 34
 Requires:       python3
33 35
 
34 36
 %description -n python3-daemon
... ...
@@ -73,6 +75,8 @@ popd
73 73
 %{python3_sitelib}/*
74 74
 
75 75
 %changelog
76
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.1.2-3
77
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
76 78
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.1.2-2
77 79
 -   Corrected an error in command
78 80
 *   Fri Mar 24 2017 Xiaolin Li <xiaolinl@vmware.com> 2.1.2-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        XML bomb protection for Python stdlib modules
5 5
 Name:           python-defusedxml
6 6
 Version:        0.5.0
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/defusedxml
9 9
 License:        PSFL
10 10
 Group:          Development/Languages/Python
... ...
@@ -35,6 +35,8 @@ Summary:        python-defusedxml
35 35
 BuildRequires:  python3
36 36
 BuildRequires:  python3-devel
37 37
 BuildRequires:  python3-libs
38
+BuildRequires:  python3-setuptools
39
+BuildRequires:  python3-xml
38 40
 
39 41
 Requires:       python3
40 42
 Requires:       python3-libs
... ...
@@ -75,5 +77,7 @@ popd
75 75
 %{python3_sitelib}/*
76 76
 
77 77
 %changelog
78
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.5.0-2
79
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
78 80
 *   Thu Mar 09 2017 Xiaolin Li <xiaolinl@vmware.com> 0.5.0-1
79 81
 -   Initial packaging for Photon
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        A DNS toolkit for Python
5 5
 Name:           python-dnspython
6 6
 Version:        1.15.0
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/dnspython
9 9
 License:        BSD
10 10
 Group:          Development/Languages/Python
... ...
@@ -30,10 +30,12 @@ dnspython provides both high and low level access to DNS. The high level classes
30 30
 dnspython originated at Nominum where it was developed to facilitate the testing of DNS software. Nominum has generously allowed it to be open sourced under a BSD-style license.
31 31
 
32 32
 %package -n     python3-dnspython
33
-Summary:        python-dnspython
33
+Summary:        python3-dnspython
34 34
 BuildRequires:  python3
35 35
 BuildRequires:  python3-devel
36 36
 BuildRequires:  python3-libs
37
+BuildRequires:  python3-setuptools
38
+BuildRequires:  python3-xml
37 39
 Requires:       python3
38 40
 Requires:       python3-libs
39 41
 
... ...
@@ -72,5 +74,7 @@ popd
72 72
 %{python3_sitelib}/*
73 73
 
74 74
 %changelog
75
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.15.0-2
76
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
75 77
 *   Tue Apr 11 2017 Xiaolin Li <xiaolinl@vmware.com> 1.15.0-1
76 78
 -   Initial packaging for Photon
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Coroutine-based network library
5 5
 Name:           python-gevent
6 6
 Version:        1.2.1
7
-Release:        3%{?dist}
7
+Release:        4%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -37,6 +37,8 @@ Summary:        python-gevent
37 37
 BuildRequires:  python3
38 38
 BuildRequires:  python3-devel
39 39
 BuildRequires:  python3-libs
40
+BuildRequires:  python3-setuptools
41
+BuildRequires:  python3-xml
40 42
 Requires:       python3
41 43
 Requires:       python3-libs
42 44
 Requires:       python3-greenlet
... ...
@@ -69,6 +71,8 @@ python3 setup.py test
69 69
 %{python3_sitelib}/*
70 70
 
71 71
 %changelog
72
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.2.1-4
73
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
72 74
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.2.1-3
73 75
 -   Removed erroneous line
74 76
 *   Tue May 16 2017 Rongrong Qiu <rqiu@vmware.com> 1.2.1-2
... ...
@@ -3,12 +3,12 @@
3 3
 
4 4
 Name:           python-hypothesis
5 5
 Version:        3.8.2
6
-Release:        2%{?dist}
6
+Release:        3%{?dist}
7 7
 Summary:        Python library for creating unit tests which are simpler to write and more powerful
8 8
 License:        MPLv2.0
9 9
 Group:          Development/Languages/Python
10 10
 Url:            https://github.com/HypothesisWorks/hypothesis-python
11
-Vendor:		VMware, Inc.
11
+Vendor:         VMware, Inc.
12 12
 Distribution:   Photon
13 13
 Source0:        https://pypi.python.org/packages/cf/d5/b3d491e4b5094be0ef69b910d637096c8e23f84a9bdc4eba0b869220d1f0/hypothesis-%{version}.tar.gz
14 14
 %define sha1    hypothesis=7416346ebd8ae6f78f482980f80a57764913e27f
... ...
@@ -33,6 +33,8 @@ and then generates simple and comprehensible examples that make your tests fail.
33 33
 Summary:        Python library for creating unit tests which are simpler to write and more powerful
34 34
 BuildRequires:  python3
35 35
 BuildRequires:  python3-devel
36
+BuildRequires:  python3-setuptools
37
+BuildRequires:  python3-xml
36 38
 
37 39
 Requires:       python3
38 40
 Requires:       python3-libs
... ...
@@ -70,6 +72,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
70 70
 %{python3_sitelib}/*
71 71
 
72 72
 %changelog
73
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 3.8.2-3
74
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
73 75
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.8.2-2
74 76
 -   Changed python to python2
75 77
 *   Tue Apr 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.8.2-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Internationalized Domain Names in Applications (IDNA).
5 5
 Name:           python-idna
6 6
 Version:        2.5
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/idna
9 9
 License:        BSD-like
10 10
 Group:          Development/Languages/Python
... ...
@@ -31,10 +31,12 @@ This library also provides support for Unicode Technical Standard 46, Unicode ID
31 31
 This acts as a suitable replacement for the “encodings.idna” module that comes with the Python standard library, but only supports the old, deprecated IDNA specification (RFC 3490).
32 32
 
33 33
 %package -n     python3-idna
34
-Summary:        python-idna
34
+Summary:        python3-idna
35 35
 BuildRequires:  python3
36 36
 BuildRequires:  python3-devel
37 37
 BuildRequires:  python3-libs
38
+BuildRequires:  python3-setuptools
39
+BuildRequires:  python3-xml
38 40
 
39 41
 Requires:       python3
40 42
 Requires:       python3-libs
... ...
@@ -75,5 +77,7 @@ popd
75 75
 %{python3_sitelib}/*
76 76
 
77 77
 %changelog
78
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.5-2
79
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
78 80
 *   Mon Mar 13 2017 Xiaolin Li <xiaolinl@vmware.com> 2.5-1
79 81
 -   Initial packaging for Photon
... ...
@@ -3,12 +3,12 @@
3 3
 
4 4
 Name:           python-imagesize
5 5
 Version:        0.7.1
6
-Release:        2%{?dist}
6
+Release:        3%{?dist}
7 7
 Summary:        python module to analyze jpeg/jpeg2000/png/gif image header and return image size.
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Url:            https://github.com/shibukawa/imagesize_py
11
-Vendor:		VMware, Inc.
11
+Vendor:         VMware, Inc.
12 12
 Distribution:   Photon
13 13
 Source0:        https://pypi.python.org/packages/53/72/6c6f1e787d9cab2cc733cf042f125abec07209a58308831c9f292504e826/imagesize_py-%{version}.tar.gz
14 14
 %define sha1    imagesize_py=b0ae3151495d8bbb207170bff7ed253d929e0dce
... ...
@@ -31,6 +31,8 @@ Summary:        python module to analyze jpeg/jpeg2000/png/gif image header and
31 31
 BuildRequires:  python3
32 32
 BuildRequires:  python3-devel
33 33
 BuildRequires:  python3-pytest
34
+BuildRequires:  python3-setuptools
35
+BuildRequires:  python3-xml
34 36
 Requires:       python3
35 37
 Requires:       python3-libs
36 38
 
... ...
@@ -68,6 +70,8 @@ py.test3
68 68
 %{python3_sitelib}/*
69 69
 
70 70
 %changelog
71
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.1-3
72
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
71 73
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.7.1-2
72 74
 -   Change python to python2
73 75
 *   Tue Apr 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.7.1-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Incremental is a small library that versions your Python projects.
5 5
 Name:           python-incremental
6 6
 Version:        16.10.1
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -30,6 +30,8 @@ Incremental is a small library that versions your Python projects.
30 30
 Summary:        python-incremental
31 31
 BuildRequires:  python3-devel
32 32
 BuildRequires:  python3-libs
33
+BuildRequires:  python3-setuptools
34
+BuildRequires:  python3-xml
33 35
 
34 36
 Requires:       python3
35 37
 Requires:       python3-libs
... ...
@@ -61,5 +63,7 @@ python3 setup.py test
61 61
 %{python3_sitelib}/*
62 62
 
63 63
 %changelog
64
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 16.10.1-2
65
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
64 66
 *   Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 16.10.1-1
65 67
 -   Initial packaging for Photon.
66 68
\ No newline at end of file
... ...
@@ -4,7 +4,7 @@
4 4
 
5 5
 Name:           python-jinja2
6 6
 Version:        2.9.5
7
-Release:        5%{?dist}
7
+Release:        6%{?dist}
8 8
 Url:            http://jinja.pocoo.org/
9 9
 Summary:        A fast and easy to use template engine written in pure Python
10 10
 License:        BSD
... ...
@@ -12,7 +12,7 @@ Group:          Development/Languages/Python
12 12
 Vendor:         VMware, Inc.
13 13
 Distribution:   Photon
14 14
 Source0:        https://pypi.python.org/packages/71/59/d7423bd5e7ddaf3a1ce299ab4490e9044e8dfd195420fc83a24de9e60726/Jinja2-2.9.5.tar.gz
15
-%define sha1 	Jinja2=a3129c140d34ae565a556e48db40772df3536b23
15
+%define sha1    Jinja2=a3129c140d34ae565a556e48db40772df3536b23
16 16
 BuildRequires:  python2
17 17
 BuildRequires:  python2-libs
18 18
 BuildRequires:  python-setuptools
... ...
@@ -32,6 +32,8 @@ Summary:        A fast and easy to use template engine written in pure Python
32 32
 BuildRequires:  python3
33 33
 BuildRequires:  python3-devel
34 34
 BuildRequires:  python3-markupsafe
35
+BuildRequires:  python3-setuptools
36
+BuildRequires:  python3-xml
35 37
 Requires:       python3
36 38
 Requires:       python3-libs
37 39
 Requires:       python3-markupsafe
... ...
@@ -77,6 +79,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
77 77
 %{python3_sitelib}/Jinja2-%{version}-py%{python3_version}.egg-info
78 78
 
79 79
 %changelog
80
+*   Tue Jun 20 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.5-6
81
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
80 82
 *   Thu Jun 15 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.9.5-5
81 83
 -   Change python to python2
82 84
 *   Mon Jun 12 2017 Kumar Kaushik <kaushikk@vmware.com> 2.9.5-4
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           python-jsonpointer
5 5
 Version:        1.10
6
-Release:        5%{?dist}
6
+Release:        6%{?dist}
7 7
 Summary:        Applying JSON Patches in Python
8 8
 License:        Modified BSD License
9 9
 Group:          Development/Languages/Python
... ...
@@ -27,6 +27,8 @@ Library to apply JSON Patches according to RFC 6902.
27 27
 Summary:        python-jsonpointer
28 28
 BuildRequires:  python3-devel
29 29
 BuildRequires:  python3-libs
30
+BuildRequires:  python3-setuptools
31
+BuildRequires:  python3-xml
30 32
 
31 33
 Requires:       python3
32 34
 Requires:       python3-libs
... ...
@@ -68,15 +70,17 @@ python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
68 68
 %{_bindir}/jsonpointer3
69 69
 
70 70
 %changelog
71
-*       Wed Apr 26 2017 Sarah Choi <sarahc@vmware.com> 1.10-5
72
--       Rename jsonpointer for python3 
73
-*       Thu Apr 06 2017 Sarah Choi <sarahc@vmware.com> 1.10-4
74
--       support python3
75
-*       Tue Oct 04 2016 ChangLee <changlee@vmware.com> 1.10-3
76
--       Modified %check
77
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.10-2
78
--	GA - Bump release of all rpms
79
-*       Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.10-1
80
--       Updated to version 1.10
81
-*       Wed Mar 04 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
82
--       Initial packaging for Photon
71
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.10-6
72
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
73
+*   Wed Apr 26 2017 Sarah Choi <sarahc@vmware.com> 1.10-5
74
+-   Rename jsonpointer for python3
75
+*   Thu Apr 06 2017 Sarah Choi <sarahc@vmware.com> 1.10-4
76
+-   support python3
77
+*   Tue Oct 04 2016 ChangLee <changlee@vmware.com> 1.10-3
78
+-   Modified %check
79
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.10-2
80
+-   GA - Bump release of all rpms
81
+*   Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.10-1
82
+-   Updated to version 1.10
83
+*   Wed Mar 04 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
84
+-   Initial packaging for Photon
... ...
@@ -4,14 +4,14 @@
4 4
 Summary:        file locking module
5 5
 Name:           python-lockfile
6 6
 Version:        0.12.2
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
11 11
 Distribution:   Photon
12 12
 Url:            https://github.com/openstack/pylockfile
13 13
 Source0:        https://pypi.python.org/packages/source/l/lockfile/lockfile-%{version}.tar.gz
14
-%define sha1	lockfile=c2ac46e48585e5f8f8d57ccc55ca83faa8b53b86
14
+%define sha1    lockfile=c2ac46e48585e5f8f8d57ccc55ca83faa8b53b86
15 15
 
16 16
 BuildRequires:  python2-devel
17 17
 BuildRequires:  python-setuptools
... ...
@@ -29,7 +29,8 @@ as a demonstration of the possibilities it provides than as production-quality c
29 29
 %package -n     python3-lockfile
30 30
 Summary:        Python Build Reasonableness
31 31
 BuildRequires:  python3-devel
32
-BuildRequires:  python-setuptools
32
+BuildRequires:  python3-setuptools
33
+BuildRequires:  python3-xml
33 34
 BuildRequires:  python3-pbr
34 35
 
35 36
 %description -n python3-lockfile
... ...
@@ -70,6 +71,8 @@ popd
70 70
 %{python3_sitelib}/lockfile
71 71
 
72 72
 %changelog
73
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.12.2-3
74
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
73 75
 *   Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.12.2-2
74 76
 -   Fix arch
75 77
 *   Fri Apr 14 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.12.2-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Markdown to reStructuredText converter.
5 5
 Name:           python-m2r
6 6
 Version:        0.1.5
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -34,6 +34,8 @@ I wanted to write sphinx document in markdown, since it’s widely used now and
34 34
 Summary:        python-m2r
35 35
 BuildRequires:  python3-devel
36 36
 BuildRequires:  python3-libs
37
+BuildRequires:  python3-setuptools
38
+BuildRequires:  python3-xml
37 39
 
38 40
 Requires:       python3
39 41
 Requires:       python3-libs
... ...
@@ -76,6 +78,8 @@ popd
76 76
 %{_bindir}/m2r3
77 77
 
78 78
 %changelog
79
+*   Mon Jun 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.1.5-3
80
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
79 81
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.1.5-2
80 82
 -   Separate the python2 and python3 scripts in the bin directory
81 83
 *   Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 0.1.5-1
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           python-mako
5 5
 Version:        1.0.6
6
-Release:        3%{?dist}
6
+Release:        4%{?dist}
7 7
 Summary:        Python templating language
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
... ...
@@ -28,6 +28,8 @@ Summary:        python-mako
28 28
 BuildRequires:  python3
29 29
 BuildRequires:  python3-devel
30 30
 BuildRequires:  python3-libs
31
+BuildRequires:  python3-setuptools
32
+BuildRequires:  python3-xml
31 33
 Requires:       python3
32 34
 Requires:       python3-libs
33 35
 
... ...
@@ -67,6 +69,8 @@ python3 test_mako.py
67 67
 %{_bindir}/mako-render3
68 68
 
69 69
 %changelog
70
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.0.6-4
71
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
70 72
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.0.6-3
71 73
 -   Separate the python2 and python3 specific scripts in the bin directory
72 74
 *   Fri Mar 03 2017 Xiaolin Li <xiaolinl@vmware.com> 1.0.6-2
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        A XML/HTML/XHTML Markup safe string for Python.
5 5
 Name:           python-markupsafe
6 6
 Version:        1.0
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 License:        BSD
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -28,6 +28,8 @@ Summary:        python-markupsafe
28 28
 BuildRequires:  python3
29 29
 BuildRequires:  python3-devel
30 30
 BuildRequires:  python3-libs
31
+BuildRequires:  python3-setuptools
32
+BuildRequires:  python3-xml
31 33
 Requires:       python3
32 34
 Requires:       python3-libs
33 35
 
... ...
@@ -59,6 +61,8 @@ python3 setup.py test
59 59
 %{python3_sitelib}/*
60 60
 
61 61
 %changelog
62
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.0-3
63
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
62 64
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.0-2
63 65
 -   Removed erroneous version line
64 66
 *   Thu Mar 30 2017 Sarah Choi <sarahc@vmware.com> 1.0-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        The fastest markdown parser in pure Python.
5 5
 Name:           python-mistune
6 6
 Version:        0.7.4
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        BSD
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -32,6 +32,8 @@ The fastest markdown parser in pure Python with renderer features, inspired by m
32 32
 Summary:        python-mistune
33 33
 BuildRequires:  python3-devel
34 34
 BuildRequires:  python3-libs
35
+BuildRequires:  python3-setuptools
36
+BuildRequires:  python3-xml
35 37
 
36 38
 Requires:       python3
37 39
 Requires:       python3-libs
... ...
@@ -71,5 +73,7 @@ popd
71 71
 %{python3_sitelib}/*
72 72
 
73 73
 %changelog
74
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.4-2
75
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
74 76
 *   Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.4-1
75 77
 -   Initial packaging for Photon
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        MessagePack (de)serializer.
5 5
 Name:           python-msgpack
6 6
 Version:        0.4.8
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        Apache Software License
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -23,6 +23,8 @@ MessagePack is a fast, compact binary serialization format, suitable for similar
23 23
 %package -n     python3-msgpack
24 24
 Summary:        Python3 msgpack
25 25
 BuildRequires:  python3-devel
26
+BuildRequires:  python3-setuptools
27
+BuildRequires:  python3-xml
26 28
 Requires:       python3
27 29
 
28 30
 %description -n python3-msgpack
... ...
@@ -59,5 +61,7 @@ popd
59 59
 %{python3_sitelib}/*
60 60
 
61 61
 %changelog
62
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.4.8-2
63
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
62 64
 *   Thu May 25 2017 Xiaolin Li <xiaolinl@vmware.com> 0.4.8-1
63 65
 -   Initial version
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           python-netaddr
5 5
 Version:        0.7.19
6
-Release:        3%{?dist}
6
+Release:        4%{?dist}
7 7
 Summary:        A network address manipulation library for Python
8 8
 License:        BSD
9 9
 Group:          Development/Languages/Python
... ...
@@ -27,7 +27,8 @@ A network address manipulation library for Python
27 27
 Summary:        Python3-netaddr
28 28
 BuildRequires:  python3-devel
29 29
 BuildRequires:  python3-libs
30
-
30
+BuildRequires:  python3-setuptools
31
+BuildRequires:  python3-xml
31 32
 %description -n python3-netaddr
32 33
 Python 3 version.
33 34
 
... ...
@@ -67,9 +68,11 @@ popd
67 67
 %{python3_sitelib}/*
68 68
 
69 69
 %changelog
70
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.19-4
71
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
70 72
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.7.19-3
71 73
 -   Separate python2 and python3 bindings
72
-*   Mon Mar 27 2017 XIaolin Li <xiaolinl@vmware.com> 0.7.19-2
74
+*   Mon Mar 27 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.19-2
73 75
 -   Added python3 package.
74 76
 *   Fri Feb 03 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.7.19-1
75 77
 -   Initial version of python-netaddr package for Photon.
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Array processing for numbers, strings, records, and objects
5 5
 Name:           python-numpy
6 6
 Version:        1.12.1
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 License:        BSD
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -30,7 +30,8 @@ NumPy is a general-purpose array-processing package designed to efficiently mani
30 30
 Summary:        python-numpy
31 31
 BuildRequires:  python3
32 32
 BuildRequires:  python3-devel
33
-BuildRequires:  python3-libs
33
+BuildRequires:  python3-setuptools
34
+BuildRequires:  python3-xml
34 35
 Requires:       python3
35 36
 Requires:       python3-libs
36 37
 
... ...
@@ -64,6 +65,8 @@ python3 setup.py test
64 64
 %{_bindir}/f2py3
65 65
 
66 66
 %changelog
67
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.12.1-3
68
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
67 69
 *   Thu May 04 2017 Sarah Choi <sarahc@vmware.com> 1.12.1-2
68 70
 -   Fix typo in Source0
69 71
 *   Thu Mar 30 2017 Sarah Choi <sarahc@vmware.com> 1.12.1-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        An implementation of the OAuth request-signing logic
5 5
 Name:           python-oauthlib
6 6
 Version:        2.0.2
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        BSD
9 9
 Url:            https://pypi.python.org/pypi/python-oauthlib/
10 10
 Group:          Development/Languages/Python
... ...
@@ -26,6 +26,8 @@ OAuthLib is a generic utility which implements the logic of OAuth without assumi
26 26
 %package -n python3-oauthlib
27 27
 Summary:        Python3 package for oauthlib
28 28
 BuildRequires:  python3-devel
29
+BuildRequires:  python3-setuptools
30
+BuildRequires:  python3-xml
29 31
 Requires:       python3
30 32
 Requires:       python3-libs
31 33
 
... ...
@@ -68,6 +70,8 @@ popd
68 68
 %{python3_sitelib}/*
69 69
 
70 70
 %changelog
71
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.0.2-2
72
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
71 73
 *   Thu Apr 13 2017 Anish Swaminathan <anishs@vmware.com> 2.0.2-1
72 74
 -   Initial packaging for Photon
73 75
 
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Python PAM module using ctypes, py3/py2
5 5
 Name:           python-pam
6 6
 Version:        1.8.2
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/python-pam/
9 9
 License:        MIT
10 10
 Group:          Development/Languages/Python
... ...
@@ -31,6 +31,8 @@ Summary:        python-pam
31 31
 BuildRequires:  python3
32 32
 BuildRequires:  python3-devel
33 33
 BuildRequires:  python3-libs
34
+BuildRequires:  python3-setuptools
35
+BuildRequires:  python3-xml
34 36
 
35 37
 Requires:       python3
36 38
 Requires:       python3-libs
... ...
@@ -71,5 +73,7 @@ popd
71 71
 %{python3_sitelib}/*
72 72
 
73 73
 %changelog
74
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.8.2-2
75
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
74 76
 *   Thu Mar 09 2017 Xiaolin Li <xiaolinl@vmware.com> 1.8.2-1
75 77
 -   Initial packaging for Photon
... ...
@@ -4,14 +4,14 @@
4 4
 Summary:        Python Build Reasonableness
5 5
 Name:           python-pbr
6 6
 Version:        2.1.0
7
-Release:        3%{?dist}
7
+Release:        4%{?dist}
8 8
 License:        ASL 2.0
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
11 11
 Distribution:   Photon
12 12
 Url:            https://docs.openstack.org/developer/pbr/
13 13
 Source0:        https://pypi.io/packages/source/p/pbr/pbr-%{version}.tar.gz
14
-%define sha1	pbr=cb5278676a96b429e491435ac04cfaf97b41d1c5
14
+%define sha1    pbr=cb5278676a96b429e491435ac04cfaf97b41d1c5
15 15
 
16 16
 BuildRequires:  python-docutils
17 17
 BuildRequires:  python-setuptools
... ...
@@ -24,6 +24,8 @@ A library for managing setuptools packaging needs in a consistent manner.
24 24
 %package -n     python3-pbr
25 25
 Summary:        Python Build Reasonableness
26 26
 BuildRequires:  python3-devel
27
+BuildRequires:  python3-setuptools
28
+BuildRequires:  python3-xml
27 29
 Requires:       python3
28 30
 
29 31
 %description -n python3-pbr
... ...
@@ -70,6 +72,8 @@ popd
70 70
 %{python3_sitelib}/pbr
71 71
 
72 72
 %changelog
73
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.1.0-4
74
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
73 75
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.1.0-3
74 76
 -   Create pbr3 script
75 77
 *   Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.1.0-2
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           python-prettytable
5 5
 Version:        0.7.2
6
-Release:        4%{?dist}
6
+Release:        5%{?dist}
7 7
 Summary:        Library for displaying tabular data in a visually appealing ASCII format
8 8
 License:        BSD-2-Clause
9 9
 Group:          Development/Languages/Python
... ...
@@ -35,6 +35,8 @@ Summary:        python-prettytable
35 35
 BuildRequires:  python3
36 36
 BuildRequires:  python3-devel
37 37
 BuildRequires:  python3-libs
38
+BuildRequires:  python3-setuptools
39
+BuildRequires:  python3-xml
38 40
 
39 41
 Requires:       python3
40 42
 Requires:       python3-libs
... ...
@@ -75,6 +77,8 @@ popd
75 75
 
76 76
 
77 77
 %changelog
78
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.2-5
79
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
78 80
 *   Tue May 16 2017 Kumar Kaushik <kaushikk@vmware.com> 0.7.2-4
79 81
 -   Adding python3 support.
80 82
 *   Mon Oct 04 2016 ChangLee <changlee@vmware.com> 0.7.2-3
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Library for building powerful interactive command lines in Python.
5 5
 Name:           python-prompt_toolkit
6 6
 Version:        1.0.14
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        BSD
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -30,6 +30,8 @@ prompt_toolkit is a library for building powerful interactive command lines and
30 30
 Summary:        python-prompt_toolkit
31 31
 BuildRequires:  python3-devel
32 32
 BuildRequires:  python3-libs
33
+BuildRequires:  python3-setuptools
34
+BuildRequires:  python3-xml
33 35
 
34 36
 Requires:       python3
35 37
 Requires:       python3-libs
... ...
@@ -69,5 +71,7 @@ popd
69 69
 %{python3_sitelib}/*
70 70
 
71 71
 %changelog
72
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.0.14-2
73
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
72 74
 *   Wed Apr 05 2017 Xiaolin Li <xiaolinl@vmware.com> 1.0.14-1
73 75
 -   Initial packaging for Photon
... ...
@@ -3,12 +3,12 @@
3 3
 
4 4
 Name:           python-py
5 5
 Version:        1.4.33
6
-Release:        2%{?dist}
6
+Release:        3%{?dist}
7 7
 Summary:        Python development support library
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Url:            https://github.com/pytest-dev/py
11
-Vendor:		VMware, Inc.
11
+Vendor:         VMware, Inc.
12 12
 Distribution:   Photon
13 13
 Source0:        https://pypi.python.org/packages/53/72/6c6f1e787d9cab2cc733cf042f125abec07209a58308831c9f292504e826/py-%{version}.tar.gz
14 14
 %define sha1    py=4ac8bacefc2583cd7ba488b5cdbfa1e0d469e792
... ...
@@ -34,6 +34,8 @@ py.code: dynamic code generation and introspection
34 34
 Summary:        Python development support library
35 35
 BuildRequires:  python3
36 36
 BuildRequires:  python3-devel
37
+BuildRequires:  python3-setuptools
38
+BuildRequires:  python3-xml
37 39
 
38 40
 Requires:       python3
39 41
 Requires:       python3-libs
... ...
@@ -72,6 +74,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
72 72
 %{python3_sitelib}/*
73 73
 
74 74
 %changelog
75
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.4.33-3
76
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
75 77
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.4.33-2
76 78
 -   Use python2_sitelib
77 79
 *   Tue Apr 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.4.33-1
... ...
@@ -3,7 +3,7 @@
3 3
 Summary:        Python wrapper module around the OpenSSL library
4 4
 Name:           python-pyOpenSSL
5 5
 Version:        16.2.0
6
-Release:        3%{?dist}
6
+Release:        4%{?dist}
7 7
 Url:            https://github.com/pyca/pyopenssl
8 8
 License:        ASL 2.0
9 9
 Group:          Development/Languages/Python
... ...
@@ -32,6 +32,8 @@ Summary:        Python 3 version
32 32
 BuildRequires:  python3
33 33
 BuildRequires:  python3-devel
34 34
 BuildRequires:  python3-libs
35
+BuildRequires:  python3-setuptools
36
+BuildRequires:  python3-xml
35 37
 Requires:       python3
36 38
 Requires:       python3-libs
37 39
 Requires:       python3-cryptography
... ...
@@ -63,6 +65,8 @@ python3 setup.py test
63 63
 %{python3_sitelib}/*
64 64
 
65 65
 %changelog
66
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-4
67
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
66 68
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 16.2.0-3
67 69
 -   Use python2 explicitly
68 70
 *   Tue Feb 21 2017 Xiaolin Li <xiaolinl@vmware.com> 16.2.0-2
... ...
@@ -5,12 +5,12 @@
5 5
 
6 6
 Name:           python-pytest
7 7
 Version:        3.0.7
8
-Release:        2%{?dist}
8
+Release:        3%{?dist}
9 9
 Summary:        pytest is a mature full-featured Python testing tool that helps you write better programs
10 10
 License:        MIT
11 11
 Group:          Development/Languages/Python
12 12
 Url:            https://docs.pytest.org
13
-Vendor:		VMware, Inc.
13
+Vendor:         VMware, Inc.
14 14
 Distribution:   Photon
15 15
 Source0:        https://pypi.python.org/packages/00/e9/f77dcd80bdb2e52760f38dbd904016da018ab4373898945da744e5e892e9/pytest-%{version}.tar.gz
16 16
 %define sha1    pytest=16bba5707c14d0ffffe92cba2380cf3bdc227068
... ...
@@ -39,6 +39,8 @@ BuildRequires:  python3-devel
39 39
 BuildRequires:  python3-py
40 40
 BuildRequires:  python3-hypothesis
41 41
 BuildRequires:  python3-Twisted
42
+BuildRequires:  python3-setuptools
43
+BuildRequires:  python3-xml
42 44
 
43 45
 Requires:       python3
44 46
 Requires:       python3-libs
... ...
@@ -96,6 +98,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
96 96
 %{python3_sitelib}/*
97 97
 
98 98
 %changelog
99
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 3.0.7-3
100
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
99 101
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.0.7-2
100 102
 -   Use python2 instead of python and rename the scripts in bin directory
101 103
 *   Tue Apr 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.0.7-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Pure Python Vi Implementation.
5 5
 Name:           python-pyvim
6 6
 Version:        0.0.20
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 License:        UNKNOWN
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -30,6 +30,8 @@ An implementation of Vim in Python.
30 30
 Summary:        python-pyvim
31 31
 BuildRequires:  python3-devel
32 32
 BuildRequires:  python3-libs
33
+BuildRequires:  python3-setuptools
34
+BuildRequires:  python3-xml
33 35
 
34 36
 Requires:       python3
35 37
 Requires:       python3-libs
... ...
@@ -63,6 +65,8 @@ python3 setup.py test
63 63
 %{_bindir}/pyvim3
64 64
 
65 65
 %changelog
66
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.0.20-3
67
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
66 68
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 0.0.20-2
67 69
 -   Rectified python3 version
68 70
 *   Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 0.0.20-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter.
5 5
 Name:           python-pyvmomi
6 6
 Version:        6.5
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        OSI Approved :: Apache Software License
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -30,6 +30,8 @@ pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage E
30 30
 Summary:        python-pyvmomi
31 31
 BuildRequires:  python3-devel
32 32
 BuildRequires:  python3-libs
33
+BuildRequires:  python3-setuptools
34
+BuildRequires:  python3-xml
33 35
 
34 36
 Requires:       python3
35 37
 Requires:       python3-libs
... ...
@@ -60,5 +62,7 @@ python3 setup.py test
60 60
 %{python3_sitelib}/*
61 61
 
62 62
 %changelog
63
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 6.5-2
64
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
63 65
 *   Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 6.5-1
64 66
 -   Initial packaging for Photon.
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Awesome Python HTTP Library That's Actually Usable
5 5
 Name:           python-requests
6 6
 Version:        2.13.0
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        Apache2
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -50,7 +50,8 @@ Features:
50 50
 Summary:        python-requests
51 51
 BuildRequires:  python3-devel
52 52
 BuildRequires:  python3-libs
53
-
53
+BuildRequires:  python3-setuptools
54
+BuildRequires:  python3-xml
54 55
 Requires:       python3
55 56
 Requires:       python3-libs
56 57
 %description -n python3-requests
... ...
@@ -90,6 +91,8 @@ popd
90 90
 %{python3_sitelib}/*
91 91
 
92 92
 %changelog
93
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.13.0-2
94
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
93 95
 *   Thu Mar 23 2017 Xiaolin Li <xiaolinl@vmware.com> 2.13.0-1
94 96
 -   Updated to version 2.13.0.
95 97
 *   Wed Mar 01 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.1-4
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Service identity verification for pyOpenSSL.
5 5
 Name:           python-service_identity
6 6
 Version:        16.0.0
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -33,6 +33,8 @@ In the simplest case, this means host name verification. However, service_identi
33 33
 Summary:        python-service_identity
34 34
 BuildRequires:  python3-devel
35 35
 BuildRequires:  python3-libs
36
+BuildRequires:  python3-setuptools
37
+BuildRequires:  python3-xml
36 38
 
37 39
 Requires:       python3
38 40
 Requires:       python3-libs
... ...
@@ -63,5 +65,7 @@ python3 setup.py test
63 63
 %{python3_sitelib}/*
64 64
 
65 65
 %changelog
66
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 16.0.0-2
67
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
66 68
 *   Mon Mar 06 2017 Xiaolin Li <xiaolinl@vmware.com> 16.0.0-1
67 69
 -   Initial packaging for Photon.
68 70
\ No newline at end of file
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        the blessed package to manage your versions by scm tags.
5 5
 Name:           python-setuptools_scm
6 6
 Version:        1.15.0
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -32,6 +32,8 @@ It also handles file finders for the supported scm’s.
32 32
 Summary:        python-setuptools_scm
33 33
 BuildRequires:  python3-devel
34 34
 BuildRequires:  python3-libs
35
+BuildRequires:  python3-setuptools
36
+BuildRequires:  python3-xml
35 37
 
36 38
 Requires:       python3
37 39
 Requires:       python3-libs
... ...
@@ -71,5 +73,7 @@ popd
71 71
 %{python3_sitelib}/*
72 72
 
73 73
 %changelog
74
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.15.0-2
75
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
74 76
 *   Mon Mar 20 2017 Xiaolin Li <xiaolinl@vmware.com> 1.15.0-1
75 77
 -   Initial packaging for Photon
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:       Python documentation generator
5 5
 Name:          python-sphinx
6 6
 Version:       1.5.3
7
-Release:       4%{?dist}
7
+Release:       5%{?dist}
8 8
 Group:         Development/Tools
9 9
 License:       BSD-2-Clause
10 10
 URL:           http://www.vmware.com
... ...
@@ -66,6 +66,8 @@ BuildRequires: python3-imagesize
66 66
 BuildRequires: python3-requests
67 67
 BuildRequires: python3-snowballstemmer
68 68
 BuildRequires: python3-pytest
69
+BuildRequires: python3-setuptools
70
+BuildRequires: python3-xml
69 71
 
70 72
 Requires:      python3
71 73
 Requires:      python3-libs
... ...
@@ -126,6 +128,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
126 126
 %{python3_sitelib}/*
127 127
 
128 128
 %changelog
129
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.5.3-5
130
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
129 131
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.5.3-4
130 132
 -   Keep the original python2 scripts and rename the python3 scripts
131 133
 *   Wed Apr 26 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.5.3-3
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        A powerful, sanity-friendly HTTP client for Python.
5 5
 Name:           python-urllib3
6 6
 Version:        1.20
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/urllib3
9 9
 License:        MIT
10 10
 Group:          Development/Languages/Python
... ...
@@ -31,6 +31,8 @@ Summary:        python-urllib3
31 31
 BuildRequires:  python3
32 32
 BuildRequires:  python3-devel
33 33
 BuildRequires:  python3-libs
34
+BuildRequires:  python3-setuptools
35
+BuildRequires:  python3-xml
34 36
 Requires:       python3
35 37
 Requires:       python3-libs
36 38
 
... ...
@@ -61,6 +63,8 @@ python3 setup.py test
61 61
 %{python3_sitelib}/*
62 62
 
63 63
 %changelog
64
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.20-3
65
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
64 66
 *   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.20-2
65 67
 -   Use python2 explicitly
66 68
 *   Thu Feb 02 2017 Xiaolin Li <xiaolinl@vmware.com> 1.20-1
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        Measures number of Terminal column cells of wide-character codes.
5 5
 Name:           python-wcwidth
6 6
 Version:        0.1.7
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -30,6 +30,8 @@ This Library is mainly for those implementing a Terminal Emulator, or programs t
30 30
 Summary:        python-wcwidth
31 31
 BuildRequires:  python3-devel
32 32
 BuildRequires:  python3-libs
33
+BuildRequires:  python3-setuptools
34
+BuildRequires:  python3-xml
33 35
 
34 36
 Requires:       python3
35 37
 Requires:       python3-libs
... ...
@@ -69,5 +71,7 @@ popd
69 69
 %{python3_sitelib}/*
70 70
 
71 71
 %changelog
72
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.1.7-2
73
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
72 74
 *   Wed Apr 05 2017 Xiaolin Li <xiaolinl@vmware.com> 0.1.7-1
73 75
 -   Initial packaging for Photon
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        WebOb provides objects for HTTP requests and responses..
5 5
 Name:           python-webob
6 6
 Version:        1.7.2
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -32,6 +32,8 @@ Summary:        python-webob
32 32
 BuildRequires:  python3
33 33
 BuildRequires:  python3-devel
34 34
 BuildRequires:  python3-libs
35
+BuildRequires:  python3-setuptools
36
+BuildRequires:  python3-xml
35 37
 Requires:       python3
36 38
 Requires:       python3-libs
37 39
 
... ...
@@ -64,6 +66,8 @@ python3 setup.py test
64 64
 %{python3_sitelib}/*
65 65
 
66 66
 %changelog
67
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 1.7.2-2
68
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
67 69
 *   Thu Mar 30 2017 Siju Maliakkal <smaliakkal@vmware.com> 1.7.2-1
68 70
 -   Updating package to 1.7.2-1
69 71
 *   Thu Mar 02 2017 Xiaolin Li <xiaolinl@vmware.com> 1.7.1-1
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           python-websocket-client
5 5
 Version:        0.7.0
6
-Release:        1%{?dist}
6
+Release:        2%{?dist}
7 7
 Summary:        WebSocket client for python
8 8
 License:        LGPL
9 9
 Group:          Development/Languages/Python
... ...
@@ -25,6 +25,8 @@ WebSocket client for python
25 25
 %package -n     python3-websocket-client
26 26
 Summary:        WebSocket client for python3
27 27
 BuildRequires:  python3-devel
28
+BuildRequires:  python3-setuptools
29
+BuildRequires:  python3-xml
28 30
 
29 31
 %description -n python3-websocket-client
30 32
 WebSocket client for python3
... ...
@@ -56,5 +58,7 @@ python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
56 56
 %{python3_sitelib}/*
57 57
 
58 58
 %changelog
59
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 0.7.0-2
60
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
59 61
 *   Sun Jun 04 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.7.0-1
60 62
 -   Initial version of python WebSocket for PhotonOS.
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Name:           python-zope.interface
5 5
 Version:        4.3.3
6
-Release:        1%{?dist}
6
+Release:        2%{?dist}
7 7
 Url:            https://github.com/zopefoundation/zope.interface
8 8
 Summary:        Interfaces for Python
9 9
 License:        ZPL 2.1
... ...
@@ -30,7 +30,8 @@ Summary:        python-zope.interface
30 30
 BuildRequires:  python3
31 31
 BuildRequires:  python3-devel
32 32
 BuildRequires:  python3-libs
33
-
33
+BuildRequires:  python3-setuptools
34
+BuildRequires:  python3-xml
34 35
 Requires:       python3
35 36
 Requires:       python3-libs
36 37
 
... ...
@@ -70,9 +71,13 @@ popd
70 70
 %{python3_sitelib}/*
71 71
 
72 72
 %changelog
73
-*       Mon Oct 04 2016 ChangLee <changlee@vmware.com> 4.1.3-3
74
--       Modified %check
73
+*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 4.3.3-2
74
+-   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
75
+*   Mon Mar 13 2017 Xiaolin Li <xiaolinl@vmware.com> 4.3.3-1
76
+-   Updated to version 4.3.3.
77
+*   Mon Oct 04 2016 ChangLee <changlee@vmware.com> 4.1.3-3
78
+-   Modified %check
75 79
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.1.3-2
76 80
 -   GA - Bump release of all rpms
77
-* Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
78
-- Initial packaging for Photon
81
+*   Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
82
+-   Initial packaging for Photon
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        A high-level scripting language
2 2
 Name:           python3
3 3
 Version:        3.6.1
4
-Release:        3%{?dist}
4
+Release:        4%{?dist}
5 5
 License:        PSF
6 6
 URL:            http://www.python.org/
7 7
 Group:          System Environment/Programming
... ...
@@ -49,21 +49,39 @@ Requires:       ncurses
49 49
 Requires:       sqlite-libs
50 50
 
51 51
 
52
-%description libs
52
+%description    libs
53 53
 The python interpreter can be embedded into applications wanting to
54 54
 use python as an embedded scripting language.  The python-libs package
55 55
 provides the libraries needed for python 3 applications.
56 56
 
57
-%package devel
57
+%package        xml
58
+Summary:        XML libraries for python3 runtime
59
+Group:          Applications/System
60
+Requires:       python3-libs = %{version}-%{release}
61
+Requires:       python3 = %{version}-%{release}
62
+
63
+%description    xml
64
+The python3-xml package provides the libraries needed for XML manipulation.
65
+
66
+%package        curses
67
+Summary:        Python module interface for NCurses Library
68
+Group:          Applications/System
69
+Requires:       python3-libs = %{version}-%{release}
70
+Requires:       ncurses
71
+
72
+%description    curses
73
+The python3-curses package provides interface for ncurses library.
74
+
75
+%package        devel
58 76
 Summary: The libraries and header files needed for Python development.
59
-Group: Development/Libraries
60
-Requires: python3 = %{version}-%{release}
61
-Requires: expat-devel >= 2.1.0
77
+Group:          Development/Libraries
78
+Requires:       python3 = %{version}-%{release}
79
+Requires:       expat-devel >= 2.1.0
62 80
 # Needed here because of the migration of Makefile from -devel to the main
63 81
 # package
64 82
 Conflicts: python3 < %{version}-%{release}
65 83
 
66
-%description devel
84
+%description    devel
67 85
 The Python programming language's interpreter can be extended with
68 86
 dynamically loaded extensions and can be embedded in other programs.
69 87
 This package contains the header files and libraries needed to do
... ...
@@ -74,15 +92,33 @@ python package will also need to be installed.  You'll probably also
74 74
 want to install the python-docs package, which contains Python
75 75
 documentation.
76 76
 
77
-%package tools
78
-Summary: A collection of development tools included with Python.
79
-Group: Development/Tools
80
-Requires: python3 = %{version}-%{release}
77
+%package        tools
78
+Summary:        A collection of development tools included with Python.
79
+Group:          Development/Tools
80
+Requires:       python3 = %{version}-%{release}
81 81
 
82
-%description tools
82
+%description    tools
83 83
 The Python package includes several development tools that are used
84 84
 to build python programs.
85 85
 
86
+%package        pip
87
+Summary:        The PyPA recommended tool for installing Python packages.
88
+Group:          Development/Tools
89
+BuildArch:      noarch
90
+Requires:       python3 = %{version}-%{release}
91
+Requires:       python3-xml = %{version}-%{release}
92
+
93
+%description    pip
94
+The PyPA recommended tool for installing Python packages.
95
+
96
+%package        setuptools
97
+Summary:        Download, build, install, upgrade, and uninstall Python packages.
98
+Group:          Development/Tools
99
+BuildArch:      noarch
100
+Requires:       python3 = %{version}-%{release}
101
+
102
+%description    setuptools
103
+setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.
86 104
 
87 105
 %prep
88 106
 %setup -q -n Python-%{version}
... ...
@@ -130,8 +166,9 @@ rm -rf %{buildroot}/*
130 130
 %doc LICENSE README.rst
131 131
 %{_bindir}/pydoc*
132 132
 %{_bindir}/pyvenv*
133
-%{_bindir}/python*
134
-%{_bindir}/pip*
133
+%{_bindir}/python3
134
+%{_bindir}/python3.6
135
+%{_bindir}/python3.6m
135 136
 %{_mandir}/*/*
136 137
 
137 138
 %dir %{_libdir}/python3.6
... ...
@@ -139,11 +176,8 @@ rm -rf %{buildroot}/*
139 139
 
140 140
 %{_libdir}/libpython3.so
141 141
 %{_libdir}/libpython3.6.so
142
-%{_libdir}/libpython3.6m.so
143 142
 %{_libdir}/libpython3.6m.so.1.0
144
-%{_libdir}/pkgconfig/python-3.6.pc
145
-%{_libdir}/pkgconfig/python-3.6m.pc
146
-%{_libdir}/pkgconfig/python3.pc
143
+
147 144
 
148 145
 %exclude %{_libdir}/python3.6/ctypes/test
149 146
 %exclude %{_libdir}/python3.6/distutils/tests
... ...
@@ -156,17 +190,38 @@ rm -rf %{buildroot}/*
156 156
 %defattr(-,root,root)
157 157
 %doc LICENSE README.rst
158 158
 %{_libdir}/python3.6
159
+%{_libdir}/python3.6/site-packages/easy_install.py
160
+%{_libdir}/python3.6/site-packages/README.txt
161
+%exclude %{_libdir}/python3.6/site-packages/
159 162
 %exclude %{_libdir}/python3.6/ctypes/test
160 163
 %exclude %{_libdir}/python3.6/distutils/tests
161 164
 %exclude %{_libdir}/python3.6/sqlite3/test
162 165
 %exclude %{_libdir}/python3.6/idlelib/idle_test
163 166
 %exclude %{_libdir}/python3.6/test
164 167
 %exclude %{_libdir}/python3.6/lib-dynload/_ctypes_test.*.so
168
+%exclude %{_libdir}/python3.6/xml
169
+%exclude %{_libdir}/python3.6/lib-dynload/pyexpat*.so
170
+%exclude %{_libdir}/python3.6/curses
171
+%exclude %{_libdir}/python3.6/lib-dynload/_curses*.so
172
+
173
+%files  xml
174
+%{_libdir}/python3.6/xml/*
175
+%{_libdir}/python3.6/lib-dynload/pyexpat*.so
176
+
177
+%files  curses
178
+%{_libdir}/python3.6/curses/*
179
+%{_libdir}/python3.6/lib-dynload/_curses*.so
165 180
 
166 181
 %files devel
167 182
 %defattr(-,root,root)
168 183
 %{_includedir}/*
169
-%{_bindir}/easy_install-3.6
184
+%{_libdir}/pkgconfig/python-3.6.pc
185
+%{_libdir}/pkgconfig/python-3.6m.pc
186
+%{_libdir}/pkgconfig/python3.pc
187
+%{_libdir}/libpython3.6m.so
188
+%{_bindir}/python3-config
189
+%{_bindir}/python3.6-config
190
+%{_bindir}/python3.6m-config
170 191
 
171 192
 %doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
172 193
 %{_libdir}/libpython3.so
... ...
@@ -180,7 +235,22 @@ rm -rf %{buildroot}/*
180 180
 %{_bindir}/2to3-3.6
181 181
 %exclude %{_bindir}/idle*
182 182
 
183
+%files pip
184
+%defattr(-,root,root,755)
185
+%{_libdir}/python3.6/site-packages/pip/*
186
+%{_libdir}/python3.6/site-packages/pip-9.0.1.dist-info/*
187
+%{_bindir}/pip*
188
+
189
+%files setuptools
190
+%defattr(-,root,root,755)
191
+%{_libdir}/python3.6/site-packages/pkg_resources/*
192
+%{_libdir}/python3.6/site-packages/setuptools/*
193
+%{_libdir}/python3.6/site-packages/setuptools-28.8.0.dist-info/*
194
+%{_bindir}/easy_install-3.6
195
+
183 196
 %changelog
197
+*   Mon Jun 05 2017 Xiaolin Li <xiaolinl@vmware.com> 3.6.1-4
198
+-   Added pip, setuptools, xml, and curses sub packages.
184 199
 *   Sun Jun 04 2017 Bo Gan <ganb@vmware.com> 3.6.1-3
185 200
 -   Fix symlink and script
186 201
 *   Wed May 10 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.6.1-2