%if 0%{with make_check}
BuildRequires: jq
BuildRequires: libuuid-devel
+%if 0%{?rhel} == 7
+BuildRequires: python%{python3_version_nodots}-bcrypt
+BuildRequires: python%{python3_version_nodots}-nose
+%else
BuildRequires: python%{python3_pkgversion}-bcrypt
BuildRequires: python%{python3_pkgversion}-nose
BuildRequires: python%{python3_pkgversion}-pecan
+%endif
BuildRequires: python%{python3_pkgversion}-requests
+%if 0%{?rhel} == 7
+BuildRequires: python%{python3_version_nodots}-six
+BuildRequires: python%{python3_version_nodots}-virtualenv
+%else
BuildRequires: python%{python3_pkgversion}-six
BuildRequires: python%{python3_pkgversion}-virtualenv
+%endif
%if 0%{?rhel} < 8
+BuildRequires: python%{python3_version_nodots}-coverage
+%else
BuildRequires: python%{python3_pkgversion}-coverage
-BuildRequires: python%{python3_pkgversion}-tox
%endif
%if 0%{?rhel} == 7
-BuildRequires: pyOpenSSL%{python3_pkgversion}
+BuildRequires: python%{python3_version_nodots}-pyOpenSSL
%else
-BuildRequires: python%{python3_pkgversion}-pyOpenSSL
+BuildRequires: python%{python3_pkgversion}-pyOpenSSL
%endif
BuildRequires: socat
%endif
%endif
BuildRequires: xmlsec1-openssl
BuildRequires: xmlsec1-openssl-devel
+%if 0%{?rhel} == 7
+BuildRequires: python%{python3_version_nodots}-jwt
+BuildRequires: python%{python3_version_nodots}-scipy
+%else
BuildRequires: python%{python3_pkgversion}-cherrypy
BuildRequires: python%{python3_pkgversion}-jwt
BuildRequires: python%{python3_pkgversion}-routes
BuildRequires: python%{python3_pkgversion}-scipy
BuildRequires: python%{python3_pkgversion}-werkzeug
-BuildRequires: python%{python3_pkgversion}-pyOpenSSL
+%endif
+%if 0%{?rhel} == 7
+BuildRequires: python%{python3_version_nodots}-pyOpenSSL
+%else
+BuildRequires: python%{python3_pkgversion}-pyOpenSSL
+%endif
%endif
%if 0%{?suse_version}
BuildRequires: libxmlsec1-1