Browse code

fix prometheus_client make check

Change-Id: Ie8de0083fa01b6865fd4ca2feb8b2e86c103ed7a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3809
Reviewed-by: Sharath George
Tested-by: Sharath George

Bo Gan authored on 2017/09/20 06:29:00
Showing 1 changed files
... ...
@@ -3,13 +3,13 @@
3 3
 
4 4
 Name:           python-prometheus_client
5 5
 Version:        0.0.20
6
-Release:        1%{?dist}
6
+Release:        2%{?dist}
7 7
 Summary:        Python client for the Prometheus monitoring system.
8 8
 License:        Apache-2.0
9 9
 Group:          Development/Languages/Python
10 10
 Url:            https://pypi.python.org/pypi/prometheus_client
11 11
 Source0:        prometheus_client-%{version}.tar.gz
12
-%define sha1    prometheus_client=f153df2466d4ccbd877c61107ba4b48115a2b7d5
12
+%define sha1    prometheus_client=9d39131f386af8965aef93e26ddc26ea508b3a48
13 13
 Vendor:         VMware, Inc.
14 14
 Distribution:   Photon
15 15
 
... ...
@@ -41,7 +41,7 @@ Requires:       python3-setuptools
41 41
 Python 3 version.
42 42
 
43 43
 %prep
44
-%setup -n prometheus_client-%{version}
44
+%setup -n client_python-%{version}
45 45
 rm -rf ../p3dir
46 46
 cp -a . ../p3dir
47 47
 
... ...
@@ -72,5 +72,7 @@ popd
72 72
 %{python3_sitelib}/*
73 73
 
74 74
 %changelog
75
+*   Tue Sep 19 2017 Bo Gan <ganb@vmware.com> 0.0.20-2
76
+-   fix make check issue by using upstream sources
75 77
 *   Fri Aug 25 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.0.20-1
76 78
 -   Initial version of python-prometheus_client package for Photon.