fish.spec: build depends on Python 3 on all platforms except RHEL 6

This commit is contained in:
David Adam 2020-06-11 22:36:36 +08:00
parent d9b0a3b272
commit 68db32255a

View File

@ -30,9 +30,7 @@ BuildRequires: gcc48 gcc48-c++
# Need the en_US.utf-8 locale at a minimum
BuildRequires: glibc-langpack-en
%endif
%if 0%{?rhel} && 0%{?rhel} < 8
BuildRequires: python
%else
%if 0%{?rhel} != 6
BuildRequires: python3
%endif