Don't BR gcc without tests

This commit is contained in:
Miro Hrončok 2020-12-04 13:39:59 +01:00
parent 80ce5dc072
commit aab7290eab

View File

@ -44,10 +44,9 @@ Source0: %{pypi_source %{srcname} %{version} zip}
BuildArch: noarch BuildArch: noarch
BuildRequires: gcc
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
%if %{with tests} %if %{with tests}
BuildRequires: gcc
BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python%{python3_pkgversion}-mock BuildRequires: python%{python3_pkgversion}-mock