diff options
author | Elan Ruusamäe | 2021-12-27 19:28:23 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2021-12-27 19:30:42 (GMT) |
commit | a09f25f9224e2fa102cd7c2f0547784ec1b6e217 (patch) | |
tree | 587fedbf2ef78aeb6bb11508c27d9bad89675a4f | |
parent | bda1ea08cfbde1533945ead4c51f598847c07bce (diff) | |
download | php-pecl-mysql-a09f25f9224e2fa102cd7c2f0547784ec1b6e217.zip php-pecl-mysql-a09f25f9224e2fa102cd7c2f0547784ec1b6e217.tar.gz |
Fix module load testHEADauto/th/php-pecl-mysql-1.0.0-7.ca514c4master
-rw-r--r-- | php-pecl-mysql.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/php-pecl-mysql.spec b/php-pecl-mysql.spec index 51862e8..25de44c 100644 --- a/php-pecl-mysql.spec +++ b/php-pecl-mysql.spec @@ -22,10 +22,10 @@ Patch0: revert-deprecate-ext-mysql.patch URL: https://secure.php.net/manual/en/book.mysql.php %{?with_tests:BuildRequires: %{php_name}-cli} BuildRequires: %{php_name}-devel >= 4:7.0.0 +%{?with_mysqlnd:BuildRequires: %{php_name}-mysqlnd} BuildRequires: rpmbuild(macros) >= 1.666 %if %{with tests} BuildRequires: %{php_name}-cli -%{?with_mysqlnd:BuildRequires: %{php_name}-mysqlnd} BuildRequires: %{php_name}-pcre %endif %{?with_mysqlnd:Requires: %{php_name}-mysqlnd} @@ -89,14 +89,14 @@ phpize %{__make} # simple module load test -%{__php} -n -q \ +%{__php} -n -q -d display_errors=off \ -d extension_dir=modules \ %if %{with mysqlnd} -d extension=%{php_extensiondir}/mysqlnd.so \ %endif -d extension=%{modname}.so \ -m > modules.log -grep %{modname} modules.log +grep "^%{modname}$" modules.log %if %{with tests} ./run-tests.sh --show-diff |