From 4b3507080328dec75eee1ab4ee91cb149bdb0906 Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Tue, 30 May 2023 14:57:28 +0800 Subject: [PATCH] Remove tests files that conflict with python-yarg (cherry picked from commit 7671b3ff2961f9eac79e6ff18e8289eb40b68eee) --- python-prometheus-api-client.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-prometheus-api-client.spec b/python-prometheus-api-client.spec index c7b5375..7a94998 100644 --- a/python-prometheus-api-client.spec +++ b/python-prometheus-api-client.spec @@ -1,10 +1,10 @@ %global _empty_manifest_terminate_build 0 Name: python-prometheus-api-client Version: 0.4.2 -Release: 1 +Release: 2 Summary: A small python api to collect data from prometheus License: MIT -URL: https://github.com/AICoE/prometheus-api-client-python +URL: https://github.com/4n4nd/prometheus-api-client-python Source0: https://files.pythonhosted.org/packages/dc/73/8153c130ce4466734842871eccea5960e996725cc96386f028144f71b3c9/prometheus-api-client-0.4.2.tar.gz BuildArch: noarch @@ -66,10 +66,14 @@ mv %{buildroot}/doclist.lst . %files -n python3-prometheus-api-client -f filelist.lst %dir %{python3_sitelib}/* +%exclude %{python3_sitelib}/tests %files help -f doclist.lst %{_docdir}/* %changelog +* Tue May 30 2023 liyanan - 0.4.2-2 +- Remove tests files that conflict with python-yarg. + * Wed Aug 11 2021 Python_Bot - 0.4.2-1 - Package Spec generated