From b8157c3994243be2d87429bfe7088893db543a8e 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 --- mariadb.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mariadb.spec b/mariadb.spec index 34797a9..3d8edb3 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -780,7 +780,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}