From 79d653982a0725feb8a6015cd946cd13e127d9fa Mon Sep 17 00:00:00 2001 From: Haikel Guemar Date: Jun 26 2016 15:37:22 +0000 Subject: Use %python_provide macros Change-Id: Idf0650d678fa64eb97a447c0b299ed91e813d96a --- diff --git a/python-oslo-concurrency.spec b/python-oslo-concurrency.spec index 1a337ac..de89378 100644 --- a/python-oslo-concurrency.spec +++ b/python-oslo-concurrency.spec @@ -69,6 +69,7 @@ Documentation for the Oslo concurrency library. %package -n python2-%{pkg_name}-tests Summary: Tests for the Oslo concurrency library +%{?python_provide:%python_provide python2-%{pkg_name}-tests} Requires: python2-%{pkg_name} = %{version}-%{release} Requires: python-hacking @@ -77,6 +78,7 @@ Requires: python-coverage Requires: python-futures Requires: python-fixtures + %description -n python2-%{pkg_name}-tests Tests for the Oslo concurrency library. @@ -112,6 +114,7 @@ external processes. %package -n python3-%{pkg_name}-tests Summary: Tests for the Oslo concurrency library +%{?python_provide:%python_provide python3-%{pkg_name}-tests} Requires: python3-%{pkg_name} = %{version}-%{release} Requires: python3-hacking