From aab7290eab68a65cbdc6505f3779d6ba2664b1b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 4 Dec 2020 13:39:59 +0100 Subject: [PATCH] Don't BR gcc without tests --- python-setuptools.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index fb513df..d228ca7 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -44,10 +44,9 @@ Source0: %{pypi_source %{srcname} %{version} zip} BuildArch: noarch -BuildRequires: gcc - BuildRequires: python%{python3_pkgversion}-devel %if %{with tests} +BuildRequires: gcc BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-mock