From decf9b0d55320f300fc8d280c9da88ccb8097836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 20 Aug 2019 11:19:42 +0200 Subject: [PATCH] Switch conditional BR to a rich BR ...to avoid problems when the SRPM is built without Python macros. --- python-jaraco-packaging.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}}