Browse code

fix python-hyperlink make check

Change-Id: I30425b8e2e50cd33d8db12c5c6de71ba2b3dc837
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3817
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George

Bo Gan authored on 2017/09/21 05:37:11
Showing 1 changed files
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        provides a pure-Python implementation of immutable URLs
5 5
 Name:           python-hyperlink
6 6
 Version:        17.3.1
7
-Release:        1%{?dist}
7
+Release:        2%{?dist}
8 8
 License:        MIT
9 9
 Group:          Development/Languages/Python
10 10
 Vendor:         VMware, Inc.
... ...
@@ -63,16 +63,8 @@ popd
63 63
 python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
64 64
 
65 65
 %check
66
-easy_install_2=$(ls /usr/bin |grep easy_install |grep 2)
67
-$easy_install_2 pip
68
-pip install --upgrade tox
69
-pip install --upgrade pytest-cov
70 66
 pytest2
71 67
 pushd ../p3dir
72
-easy_install_3=$(ls /usr/bin |grep easy_install |grep 3)
73
-$easy_install_3 pip
74
-pip install --upgrade tox
75
-pip install --upgrade pytest-cov
76 68
 pytest3
77 69
 popd
78 70
 
... ...
@@ -85,5 +77,7 @@ popd
85 85
 %{python3_sitelib}/*
86 86
 
87 87
 %changelog
88
+*   Wed Sep 20 2017 Bo Gan <ganb@vmware.com> 17.3.1-2
89
+-   Fix make check issues
88 90
 *   Mon Sep 11 2017 Dheeraj Shetty <dheerajs@vmware.com> 17.3.1-1
89 91
 -   Initial packaging for Photon