fish.spec: depend on Python on CentOS/RHEL 8 for tests

This commit is contained in:
David Adam 2019-12-03 15:05:38 +08:00
parent 1f6f1b347c
commit d90a62c151

View file

@ -22,10 +22,13 @@ BuildRequires: gcc48 gcc48-c++ python-argparse
%endif
# for tests
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} && 0%{?rhel} > 7
# Need the en_US.utf-8 locale at a minimum
BuildRequires: glibc-langpack-en
%endif
%if 0%{?rhel} && 0%{?rhel} > 7
BuildRequires: python3
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)