Browse code

python-requests: disabled check section as tests are not available

Change-Id: I65aaa44037c9656f76ea479515cfed6e45f36730
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3426
Reviewed-by: Chang Lee <changlee@vmware.com>
Tested-by: gerrit-photon <photon-checkins@vmware.com>

xiaolin-vmware authored on 2017/08/08 02:19:16
Showing 1 changed files
... ...
@@ -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:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 License:        Apache2
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -16,7 +16,6 @@ Source0:        http://pypi.python.org/packages/source/r/requests/requests-%{ver
16 16
 BuildRequires:  python2
17 17
 BuildRequires:  python2-libs
18 18
 BuildRequires:  python-setuptools
19
-
20 19
 Requires:       python2
21 20
 Requires:       python2-libs
22 21
 
... ...
@@ -74,11 +73,8 @@ pushd ../p3dir
74 74
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
75 75
 popd
76 76
 
77
-%check
78
-python2 setup.py test
79
-pushd ../p3dir
80
-python3 setup.py test
81
-popd
77
+#%check
78
+#Commented out %check due to no test existence
82 79
 
83 80
 %files
84 81
 %defattr(-,root,root)
... ...
@@ -91,6 +87,8 @@ popd
91 91
 %{python3_sitelib}/*
92 92
 
93 93
 %changelog
94
+*   Mon Aug 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.13.0-3
95
+-   Disabled check section as tests are not available
94 96
 *   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 2.13.0-2
95 97
 -   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
96 98
 *   Thu Mar 23 2017 Xiaolin Li <xiaolinl@vmware.com> 2.13.0-1