[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
This commit is contained in:
Michal Schorm 2023-11-29 13:57:15 +01:00
parent 25de99bdbd
commit 4bcc53237f

View File

@ -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