diff --git a/metis.spec b/metis.spec index 966c330..6b9d639 100644 --- a/metis.spec +++ b/metis.spec @@ -37,7 +37,11 @@ Patch4: %{name}_lib64.patch Patch5: %{name}-pcre2.patch BuildRequires: cmake3, gcc, gcc-c++ +%if 0%{?rhel} +BuildRequires: pcre-devel +%else BuildRequires: pcre2-devel +%endif BuildRequires: help2man BuildRequires: chrpath