mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
fish.spec: depend on Python on CentOS/RHEL 8 for tests
This commit is contained in:
parent
1f6f1b347c
commit
d90a62c151
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue