The coverage package under openSUSE (and other distros) are named as
python{major_version}-coverage (without minor version).
Fixes: https://tracker.ceph.com/issues/44164
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
BuildRequires: python%{python3_pkgversion}-six
BuildRequires: python%{python3_pkgversion}-virtualenv
%endif
-%if 0%{?rhel} < 8
+%if 0%{?rhel} == 7
BuildRequires: python%{python3_version_nodots}-coverage
%else
BuildRequires: python%{python3_pkgversion}-coverage