From 40681597f316f4b1e18752453af677e22cf01a7c Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Mar 03 2020 05:24:10 +0000 Subject: Set regex backend Signed-off-by: Igor Raits --- diff --git a/libgit2.spec b/libgit2.spec index 3343018..a4b51f0 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -13,6 +13,7 @@ BuildRequires: http-parser-devel BuildRequires: libcurl-devel BuildRequires: libssh2-devel BuildRequires: openssl-devel +BuildRequires: pcre2-devel BuildRequires: python3 BuildRequires: zlib-devel Provides: bundled(libxdiff) @@ -49,6 +50,7 @@ rm -vr deps %cmake . -B%{_target_platform} \ -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DREGEX_BACKEND=pcre2 \ -DUSE_HTTP_PARSER=system \ -DUSE_SHA1=HTTPS \ -DUSE_HTTPS=OpenSSL \