Change-Id: I6a71837414108789f8db260314ac5e2531552344
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3756
Reviewed-by: Chang Lee <changlee@vmware.com>
Tested-by: gerrit-photon <photon-checkins@vmware.com>
... | ... |
@@ -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: 3%{?dist} |
|
9 |
+Release: 4%{?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 |
... | ... |
@@ -37,6 +37,7 @@ BuildRequires: python3 |
37 | 37 |
BuildRequires: cython3 |
38 | 38 |
BuildRequires: python3-devel |
39 | 39 |
BuildRequires: python3-libs |
40 |
+BuildRequires: python3-pip |
|
40 | 41 |
BuildRequires: python3-pytest |
41 | 42 |
BuildRequires: python3-setuptools |
42 | 43 |
BuildRequires: python3-xml |
... | ... |
@@ -66,8 +67,36 @@ popd |
66 | 66 |
%check |
67 | 67 |
easy_install_2=$(ls /usr/bin |grep easy_install |grep 2) |
68 | 68 |
$easy_install_2 nose |
69 |
+$easy_install_2 scales |
|
70 |
+$easy_install_2 mock |
|
71 |
+$easy_install_2 ccm |
|
72 |
+$easy_install_2 unittest2 |
|
73 |
+$easy_install_2 pytz |
|
74 |
+$easy_install_2 sure |
|
75 |
+$easy_install_2 pure-sasl |
|
76 |
+$easy_install_2 twisted |
|
77 |
+$easy_install_2 gevent |
|
78 |
+$easy_install_2 eventlet |
|
79 |
+$easy_install_2 packaging |
|
69 | 80 |
pip install eventlet |
70 |
-python setup.py nosetests -w tests/unit/ |
|
81 |
+python2 setup.py nosetests -w tests/unit/ |
|
82 |
+pushd ../p3dir |
|
83 |
+easy_install_3=$(ls /usr/bin |grep easy_install |grep 3) |
|
84 |
+$easy_install_3 nose |
|
85 |
+$easy_install_3 scales |
|
86 |
+$easy_install_3 mock |
|
87 |
+$easy_install_3 ccm |
|
88 |
+$easy_install_3 unittest2 |
|
89 |
+$easy_install_3 pytz |
|
90 |
+$easy_install_3 sure |
|
91 |
+$easy_install_3 pure-sasl |
|
92 |
+$easy_install_3 twisted |
|
93 |
+$easy_install_3 gevent |
|
94 |
+$easy_install_3 eventlet |
|
95 |
+$easy_install_3 packaging |
|
96 |
+pip3 install eventlet |
|
97 |
+python3 setup.py nosetests -w tests/unit/ |
|
98 |
+popd |
|
71 | 99 |
|
72 | 100 |
%files |
73 | 101 |
%defattr(-,root,root) |
... | ... |
@@ -78,6 +107,8 @@ python setup.py nosetests -w tests/unit/ |
78 | 78 |
%{python3_sitelib}/* |
79 | 79 |
|
80 | 80 |
%changelog |
81 |
+* Tue Sep 12 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.10.0-4 |
|
82 |
+- Do make check for python3 subpackage |
|
81 | 83 |
* Wed Aug 16 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.10.0-3 |
82 | 84 |
- Fix make check. |
83 | 85 |
* Tue Jun 20 2017 Xiaolin Li <xiaolinl@vmware.com> 3.10.0-2 |