diff --git a/python-jaraco-packaging.spec b/python-jaraco-packaging.spec index 10f9809..feda9f2 100644 --- a/python-jaraco-packaging.spec +++ b/python-jaraco-packaging.spec @@ -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}}