From 0cfa0513746f9417998b6daf83371ac016dad812 Mon Sep 17 00:00:00 2001
From: Alfredo Moralejo <amoralej@redhat.com>
Date: Tue, 20 Dec 2022 12:35:27 +0100
Subject: [PATCH] Add python3-osprofiler as requirement for -tests subpackage

It's actually required to run unit tests.

Change-Id: I436ae0800962265e879b950a8eaf473183e1e562
---
 python-magnumclient.spec | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/python-magnumclient.spec b/python-magnumclient.spec
index 483cea4..bd951e9 100644
--- a/python-magnumclient.spec
+++ b/python-magnumclient.spec
@@ -109,6 +109,9 @@ Requires:  python3-testtools
 Requires:  python3-keystoneauth1
 Requires:  python3-prettytable
 Requires:  python3-stestr
+%if 0%{?rhel}
+Requires:  python3-osprofiler
+%endif
 
 %description -n python3-%{pname}-tests
 %{common_desc_tests}
-- 
GitLab