PR#1683: in f30+ python-devel defaults to python3

Merges #1683
https://pagure.io/koji/pull-request/1683

Fixes: #1585
https://pagure.io/koji/issue/1585
koji doesn't build in rawhide
This commit is contained in:
Tomas Kopecek 2019-10-14 10:28:21 +02:00
commit 106be174b4

View file

@ -113,7 +113,11 @@ contains shared libraries and the command-line interface.
%package -n python2-%{name}
Summary: Build system tools python library
%{?python_provide:%python_provide python2-%{name}}
%if 0%{?fedora} >= 30
BuildRequires: python2-devel
%else
BuildRequires: python-devel
%endif
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 8
Requires: python2-rpm
%else