[packages/php-pecl-mysql] - rel 2; mysqlnd is also required runtime: 'PHP Warning: Cannot load module 'mysql' because require

arekm arekm at pld-linux.org
Tue Nov 15 08:11:34 CET 2016


commit 547e0c15401dbf5c0a94c491d9c6166b554d3042
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Nov 15 08:11:25 2016 +0100

    - rel 2; mysqlnd is also required runtime: 'PHP Warning:  Cannot load module 'mysql' because required module 'mysqlnd' is not loaded in Unknown on line 0'

 php-pecl-mysql.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-mysql.spec b/php-pecl-mysql.spec
index 33df2dc..beb7862 100644
--- a/php-pecl-mysql.spec
+++ b/php-pecl-mysql.spec
@@ -10,7 +10,7 @@ Summary(pl.UTF-8):	Moduł bazy danych MySQL dla PHP
 Summary(pt_BR.UTF-8):	Um módulo para aplicações PHP que usam bancos de dados MySQL
 Name:		%{php_name}-pecl-%{modname}
 Version:	1.0.0
-Release:	1
+Release:	2
 License:	PHP 3.01
 Group:		Development/Languages/PHP
 Source0:	http://git.php.net/?p=pecl/database/mysql.git;a=snapshot;h=294ce3b491ffb5ab2556b9f64ef6fb608d32e5c7;sf=tgz;/php-pecl-%{modname}-%{version}.tar.gz
@@ -24,6 +24,7 @@ BuildRequires:	%{php_name}-cli
 BuildRequires:	%{php_name}-pcre
 %{?with_mysqlnd:BuildRequires:	%{php_name}-mysqlnd}
 %endif
+%{?with_mysqlnd:Requires:	%{php_name}-mysqlnd}
 %{?requires_php_extension}
 Provides:	php(mysql) = %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mysql.git/commitdiff/547e0c15401dbf5c0a94c491d9c6166b554d3042



More information about the pld-cvs-commit mailing list