in f30+ python-devel defaults to python3
Fixes: https://pagure.io/koji/issue/1585
This commit is contained in:
parent
281a664a07
commit
5aa3e3b29f
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue