mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +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
|
%endif
|
||||||
|
|
||||||
# for tests
|
# for tests
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora} || 0%{?rhel} && 0%{?rhel} > 7
|
||||||
# Need the en_US.utf-8 locale at a minimum
|
# Need the en_US.utf-8 locale at a minimum
|
||||||
BuildRequires: glibc-langpack-en
|
BuildRequires: glibc-langpack-en
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} > 7
|
||||||
|
BuildRequires: python3
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue