From: Marcin Krol Date: Mon, 18 Dec 2023 21:28:40 +0000 (+0100) Subject: - mysql-8.0 is now default MySQL version X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=3969d9c9e2ff68b613acc17642c47431177f3992;p=packages%2Fphp.git - mysql-8.0 is now default MySQL version --- diff --git a/php.spec b/php.spec index 1dcd889..99e81fe 100644 --- a/php.spec +++ b/php.spec @@ -216,8 +216,8 @@ BuildRequires: libxml2-devel >= 1:2.7.6-4 %{?with_zip:BuildRequires: libzip-devel >= 1.3.1} %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}} %{?with_mm:BuildRequires: mm-devel >= 1.3.0} -%{!?with_mysqli:BuildRequires: mysql-devel >= 4.1.13} -%{!?with_pdo_mysql:BuildRequires: mysql-devel} +%{!?with_mysqli:BuildRequires: mysql-8.0-devel} +%{!?with_pdo_mysql:BuildRequires: mysql-8.0-devel} %{?with_snmp:BuildRequires: net-snmp-devel >= 5.3} BuildRequires: oniguruma-devel %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} @@ -1028,7 +1028,7 @@ URL: http://php.net/manual/en/book.mysqli.php Requires: %{name}-common = %{epoch}:%{version}-%{release} %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}} Requires: %{name}-spl = %{epoch}:%{version}-%{release} -Requires: mysql-libs >= 4.1.13 +Requires: mysql-8.0-libs Provides: php(mysqli) Obsoletes: php-mysqli < 4:5.3.28-7