Use pcre2 in RHEL builds

Also, update pcre2 dependency; pcre2-16 is used, not pcre2-posix.
This commit is contained in:
Yaakov Selkowitz 2023-07-18 23:49:10 -04:00
parent 8a677e9531
commit 7611d21388

View File

@ -57,7 +57,7 @@
Name: qt5-qtbase
Summary: Qt5 - QtBase components
Version: 5.15.10
Release: 2%{?dist}
Release: 3%{?dist}
# See LGPL_EXCEPTIONS.txt, for exception details
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
@ -213,8 +213,8 @@ BuildRequires: pkgconfig(sqlite3) >= 3.7
BuildRequires: pkgconfig(harfbuzz) >= 0.9.42
%endif
BuildRequires: pkgconfig(icu-i18n)
%if 0%{?fedora} > 37
BuildRequires: pkgconfig(libpcre2-posix) >= 10.20
%if 0%{?fedora} > 37 || 0%{?rhel} > 7
BuildRequires: pkgconfig(libpcre2-16) >= 10.20
%else
BuildRequires: pkgconfig(libpcre) >= 8.0
%endif
@ -1111,6 +1111,10 @@ fi
%changelog
* Wed Jul 19 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 5.15.10-3
- Use pcre2 in RHEL builds
- Update pcre2 dependency
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 5.15.10-2
- Rebuilt for ICU 73.2