Workaround epel7 py3 problems.

This commit is contained in:
James Antill 2021-03-09 21:04:56 -05:00
parent 0f7184767c
commit cf286cee19

View file

@ -8,8 +8,11 @@ Source0: https://git.centos.org/centos/centpkg/archive/%{version}/centpkg
BuildArch: noarch
BuildRequires: python3-devel
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
BuildRequires: python-setuptools
%else
BuildRequires: %{py3_dist setuptools}
%endif
%description
Provides the centpkg command for working with dist-git