fish.spec/debian packaging: add build dependency on Python

For littlecheck etc.
This commit is contained in:
David Adam 2020-01-28 16:55:05 +08:00
parent dd1e526017
commit 0e75bcc61f
2 changed files with 4 additions and 2 deletions

2
debian/control vendored
View File

@ -5,7 +5,7 @@ Maintainer: ridiculous_fish <corydoras@ridiculousfish.com>
Uploaders: David Adam <zanchey@ucc.gu.uwa.edu.au>
Build-Depends: debhelper (>= 9.0.0), libncurses5-dev, cmake3 (>= 3.2.0) | cmake (>= 3.2.0), gettext,
# Test dependencies
locales-all
locales-all, python3
# When libpcre2-dev is available on all supported Debian versions, add a dependency on that.
Standards-Version: 4.1.5
Homepage: https://fishshell.com/

View File

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