fish.spec: depend on system pcre2 libraries where available

(cherry picked from commit 1872fb4ea9)
This commit is contained in:
David Adam 2017-08-26 00:16:29 +08:00
parent 27d7feaf95
commit 2d08da79e9

View File

@ -15,6 +15,10 @@ BuildRequires: ncurses-devel gettext gcc-c++ autoconf
BuildRequires: gcc48 gcc48-c++
%endif
%if 0%{?is_opensuse} || 0%{?fedora}
BuildRequires: pcre2-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: bc