[packages/php/PHP_5_4] Rel 58. BuildRequires mysql-devel < 8.0

arekm arekm at pld-linux.org
Thu Nov 19 21:42:25 CET 2026


commit 7cb08c51031b479ad44cd4258a307c87151d95cb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 21:38:14 2026 +0100

    Rel 58. BuildRequires mysql-devel < 8.0
    
    A bare mysql-devel pulls mysql9.7-devel on the builders, and mysqli
    without mysqlnd needs my_global.h, which MySQL 8.0 dropped.

 php.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php.spec b/php.spec
index 72e37af..8610aff 100644
--- a/php.spec
+++ b/php.spec
@@ -138,7 +138,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine	with_filter
 %endif
 
-%define		rel	57
+%define		rel	58
 %define		orgname	php
 %define		ver_suffix 54
 %define		php_suffix %{!?with_default_php:%{ver_suffix}}
@@ -555,7 +555,7 @@ BuildRequires:	elfutils-devel
 %{?with_kerberos5:BuildRequires:	heimdal-devel}
 %{!?with_mysql:BuildRequires:	libatomic-devel}
 %{?with_system_libzip:BuildRequires:	libzip-devel >= 0.10.1-2}
-%{!?with_mysqlnd:BuildRequires:	mysql-devel}
+%{!?with_mysqlnd:BuildRequires:	mysql-devel < 8.0}
 BuildRequires:	pkgconfig
 BuildRequires:	sed >= 4.0
 %if %{with mssql} || %{with sybase_ct}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/7cb08c51031b479ad44cd4258a307c87151d95cb



More information about the pld-cvs-commit mailing list