From 0354b9890a6b4ff84307c0cc70c6409545934abb Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Thu, 13 Jan 2022 12:47:09 +0100 Subject: [PATCH] Fix the regular expression used to pick up the PCRE2 version the upstream bundles Upstream changed the URL from which they download the PCRE2 tarball -- Related: #2092370 --- mariadb.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mariadb.spec b/mariadb.spec index 21e2489..e864915 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -788,7 +788,7 @@ sed 's/mariadb-server-galera/%{name}-server-galera/' %{SOURCE72} > selinux/%{nam # Get version of PCRE, that upstream use -pcre_version=`grep -e "ftp.pcre.org/pub/pcre/pcre2" cmake/pcre.cmake | sed -r "s;[^0123456789]*2-([[:digit:]]+\.[[:digit:]]+)\.[^0123456789]*;\1;"` +pcre_version=`grep -e "https://github.com/PhilipHazel/pcre2/releases/download" cmake/pcre.cmake | sed -r "s;.*pcre2-([[:digit:]]+\.[[:digit:]]+).*;\1;" ` # Check if the PCRE version in macro 'pcre_bundled_version', used in Provides: bundled(...), is the same version as upstream actually bundles %if %{without unbundled_pcre}