From 6b49656f3517a6f8771fa8f39434055fd5efcf32 Mon Sep 17 00:00:00 2001 From: cherry530 Date: Mon, 27 Feb 2023 16:01:13 +0800 Subject: [PATCH] Remove tests files that conflict with python-yarg. Signed-off-by: cherry530 --- python-prometheus-api-client.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-prometheus-api-client.spec b/python-prometheus-api-client.spec index c7b5375..d9fb692 100644 --- a/python-prometheus-api-client.spec +++ b/python-prometheus-api-client.spec @@ -1,7 +1,7 @@ %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 @@ -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 +* Mon Feb 27 2023 xu_ping - 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