diff --git a/prometheus_client-0.13.1.tar.gz b/prometheus_client-0.13.1.tar.gz deleted file mode 100644 index d54622e..0000000 Binary files a/prometheus_client-0.13.1.tar.gz and /dev/null differ diff --git a/prometheus_client-0.15.0.tar.gz b/prometheus_client-0.15.0.tar.gz new file mode 100644 index 0000000..da693b4 Binary files /dev/null and b/prometheus_client-0.15.0.tar.gz differ diff --git a/python-prometheus-client.spec b/python-prometheus-client.spec index c805606..a1b84d8 100644 --- a/python-prometheus-client.spec +++ b/python-prometheus-client.spec @@ -1,22 +1,14 @@ %global _empty_manifest_terminate_build 0 Name: python-prometheus-client -Version: 0.13.1 +Version: 0.15.0 Release: 1 Summary: Python client for the Prometheus monitoring system. License: Apache-2.0 URL: https://github.com/prometheus/client_python -Source0: https://files.pythonhosted.org/packages/a0/e4/af0c31d69c985e83774f5b3ee1b0e28f129a7606e3cfeb3e08b6a1fe8a12/prometheus_client-0.13.1.tar.gz +Source0: https://files.pythonhosted.org/packages/ae/ae/04b27ea04f67f91f10b1379d8fd6729c41ac0bcefbb0af603850b3fa32e0/prometheus_client-0.15.0.tar.gz BuildArch: noarch %description - Prometheus Python ClientThe official Python client for [Prometheus](). Three -Step Demo**One**: Install the client:pip install prometheus-client **Two**: -Paste the following into a Python interpreter: python from prometheus-client -import start_http_server, Summary import random import time Create a metric to -track time spent and requests made. REQUEST_TIME -Summary('request_processing_seconds', 'Time spent processing request') Decorate -function with metric. @REQUEST_TIME.time() def process_request(t): """A dummy -function that takes some time.""" time.sleep(t)if __name__ '__main__': Start up -the server to expose the metrics. +The official Python client for Prometheus. %package -n python3-prometheus-client Summary: Python client for the Prometheus monitoring system. @@ -33,39 +25,13 @@ BuildRequires: python3-twisted # General requires Requires: python3-twisted %description -n python3-prometheus-client - Prometheus Python ClientThe official Python client for [Prometheus](). Three -Step Demo**One**: Install the client:pip install prometheus-client **Two**: -Paste the following into a Python interpreter: python from prometheus-client -import start_http_server, Summary import random import time Create a metric to -track time spent and requests made. REQUEST_TIME -# General requires -BuildRequires: python3-twisted -# General requires -Requires: python3-twisted -%description -n python3-prometheus-client - Prometheus Python ClientThe official Python client for [Prometheus](). Three -Step Demo**One**: Install the client:pip install prometheus-client **Two**: -Paste the following into a Python interpreter: python from prometheus-client -import start_http_server, Summary import random import time Create a metric to -track time spent and requests made. REQUEST_TIME -Summary('request_processing_seconds', 'Time spent processing request') Decorate -function with metric. @REQUEST_TIME.time() def process_request(t): """A dummy -function that takes some time.""" time.sleep(t)if __name__ '__main__': Start up -the server to expose the metrics. +The official Python client for Prometheus. %package help Summary: Python client for the Prometheus monitoring system. Provides: python3-prometheus-client-doc %description help - Prometheus Python ClientThe official Python client for [Prometheus](). Three -Step Demo**One**: Install the client:pip install prometheus-client **Two**: -Paste the following into a Python interpreter: python from prometheus-client -import start_http_server, Summary import random import time Create a metric to -track time spent and requests made. REQUEST_TIME -Summary('request_processing_seconds', 'Time spent processing request') Decorate -function with metric. @REQUEST_TIME.time() def process_request(t): """A dummy -function that takes some time.""" time.sleep(t)if __name__ '__main__': Start up -the server to expose the metrics. +The official Python client for Prometheus. %prep %autosetup -n prometheus_client-%{version} @@ -112,6 +78,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Nov 08 2022 jiangxinyu - 0.15.0-1 +- Upgrade package to version 0.15.0 + * Mon Jun 06 2022 renliang - 0.13.1-1 - Update package python3-prometheus-client to version 0.13.1