fish.spec: use system pcre2 on all platforms except RHEL 6/7

This commit is contained in:
David Adam 2019-12-03 14:47:52 +08:00
parent 62d435f25b
commit 1f6f1b347c

View File

@ -14,17 +14,13 @@ BuildRequires: ncurses-devel gettext gcc-c++ autoconf
%if 0%{?rhel} && 0%{?rhel} < 8
BuildRequires: cmake3
%else
BuildRequires: cmake
BuildRequires: cmake pcre2-devel
%endif
%if 0%{?opensuse_bs} && 0%{?rhel} && 0%{?rhel} < 7
BuildRequires: gcc48 gcc48-c++ python-argparse
%endif
%if 0%{?is_opensuse} || 0%{?fedora}
BuildRequires: pcre2-devel
%endif
# for tests
%if 0%{?fedora}
# Need the en_US.utf-8 locale at a minimum