From 1872fb4ea917a8744e6c40526a6c8fd3becc2d27 Mon Sep 17 00:00:00 2001 From: David Adam Date: Sat, 26 Aug 2017 00:16:29 +0800 Subject: [PATCH] fish.spec: depend on system pcre2 libraries where available --- fish.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fish.spec.in b/fish.spec.in index 3a1cbf4e2..cddc8042f 100644 --- a/fish.spec.in +++ b/fish.spec.in @@ -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