From 2c875437e6bab9adf3b20384b923bfa7790057f0 Mon Sep 17 00:00:00 2001 From: sean-lau Date: Thu, 17 Jun 2021 11:19:14 +0800 Subject: [PATCH] Remove requires of jaeger-client and python-elasticsearch only used by testing --- python-osprofiler.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/python-osprofiler.spec b/python-osprofiler.spec index 09d933d..a8d14df 100644 --- a/python-osprofiler.spec +++ b/python-osprofiler.spec @@ -1,7 +1,9 @@ %global _empty_manifest_terminate_build 0 +%global __requires_exclude elasticsearch +%global __requires_exclude jaeger-client Name: python-osprofiler Version: 2.3.0 -Release: 1 +Release: 2 Summary: OpenStack Profiler Library License: Apache-2.0 URL: https://docs.openstack.org/osprofiler/latest/ @@ -40,10 +42,12 @@ Requires: python2-openstackdocstheme Requires: python2-sphinx Requires: python2-bandit Requires: python2-pymongo -Requires: python2-elasticsearch +# elasticsearch only required by tests running +# Requires: python2-elasticsearch Requires: python2-redis Requires: python2-reno -Requires: python2-jaeger-client +# jaeger-client only required by tests running +# Requires: python2-jaeger-client Requires: python2-futures %description -n python2-osprofiler OSProfiler provides a tiny but powerful library that is used by @@ -105,6 +109,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Jun 17 2021 liusheng +- Drop testing rquires jarger-client and elasticsearch * Wed Jun 16 2021 liusheng - Upgrade version to 2.3.0 for OpenStack Rocky support * Sat May 29 2021 huangtianhua -- Gitee