From 4bcc53237f7f3a4f843d46b0a13c4329be7a53ff Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Wed, 29 Nov 2023 13:57:15 +0100 Subject: [PATCH] [1/20] SPECfile cleanup - Fix cherry-picked from RHEL 8 The PCRE2 version in RHEL 8 is actually 10.32: https://gitlab.com/redhat/centos-stream/rpms/pcre2/-/blob/c8s/sources?ref_type=heads so we need to bundle the PCRE2 10.34 there The version of PCRE2 in RHEL 9 is 10.40: https://gitlab.com/redhat/centos-stream/rpms/pcre2/-/blob/c9s/sources?ref_type=heads so we're safe there --- mariadb.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mariadb.spec b/mariadb.spec index fd239aa..261e081 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -114,7 +114,7 @@ # MariaDB 10.0 and later requires pcre >= 10.34, otherwise we need to use # the bundled library, since the package cannot be build with older version # https://mariadb.com/kb/en/pcre/ -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} > 8 %bcond_without unbundled_pcre %else %bcond_with unbundled_pcre