Switch conditional BR to a rich BR

...to avoid problems when the SRPM is built without Python macros.
epel8
Miro Hrončok 5 years ago
parent de6248436b
commit decf9b0d55

@ -42,8 +42,8 @@ BuildRequires: python3dist(six) >= 1.4
%if 0%{?python3_version_nodots} < 38
Requires: python3dist(importlib-metadata) >= 0.18
BuildRequires: python3dist(importlib-metadata) >= 0.18
%endif
BuildRequires: (python3dist(importlib-metadata) >= 0.18 if python3 < 3.8)
%{?python_provide:%python_provide python3-%{pkg_name}}

Loading…
Cancel
Save