fish.spec: depend on system pcre2 libraries where available

This commit is contained in:
David Adam 2017-08-26 00:16:29 +08:00
parent 1590bd15f1
commit 1872fb4ea9

View file

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