From 595b682e789c35c037d196d4fe315f3ebdf046b2 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 22 Jul 2017 13:33:25 -0400 Subject: [PATCH] Use pcre2 library The pcre1 library is only maintained for serious bugs and vulnerabilities at this point. Further improvements are happening in pcre2. In a future release git will make this the default library for pcre support. --- git.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/git.spec b/git.spec index 604ab3d..bfc0af0 100644 --- a/git.spec +++ b/git.spec @@ -94,7 +94,7 @@ BuildRequires: libcurl-devel %if %{libsecret} BuildRequires: libsecret-devel %endif -BuildRequires: pcre-devel +BuildRequires: pcre2-devel %if 0%{?fedora} BuildRequires: perl-generators %endif @@ -357,7 +357,7 @@ V = 1 CFLAGS = %{optflags} LDFLAGS = %{__global_ldflags} NEEDS_CRYPTO_WITH_SSL = 1 -USE_LIBPCRE = 1 +USE_LIBPCRE2 = 1 ETC_GITCONFIG = %{_sysconfdir}/gitconfig DESTDIR = %{buildroot} INSTALL = install -p @@ -728,6 +728,7 @@ rm -rf %{buildroot} %changelog * Fri Aug 04 2017 Todd Zullinger - 2.14.0-1 - Update to 2.14.0 +- Use pcre2 library * Tue Aug 01 2017 Todd Zullinger - 2.13.4-1 - Update to 2.13.4