mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:04:39 +08:00
fish.spec: use system pcre2 on all platforms except RHEL 6/7
This commit is contained in:
parent
62d435f25b
commit
1f6f1b347c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user