[packages/php-pecl-mongodb] spl for tests
glen
glen at pld-linux.org
Tue Oct 17 19:36:31 CEST 2017
commit 4b7a708c651c6264f8fb3c74906491b69b5831fc
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Oct 17 19:45:49 2017 +0300
spl for tests
php-pecl-mongodb.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index 89f5a27..e09a677 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -17,6 +17,7 @@ BuildRequires: %{php_name}-devel >= 4:5.4.0
BuildRequires: rpmbuild(macros) >= 1.666
%if %{with tests}
BuildRequires: %{php_name}-json
+BuildRequires: %{php_name}-spl
%endif
BuildRequires: cyrus-sasl-devel
BuildRequires: libbson-devel >= 1.5
@@ -72,6 +73,7 @@ phpize
%{__php} -n -q \
-d extension_dir=modules \
-d extension=%{php_extensiondir}/json.so \
+ -d extension=%{php_extensiondir}/spl.so \
-d extension=%{modname}.so \
-m > modules.log
grep %{modname} modules.log
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mongodb.git/commitdiff/29b44cd39f32f1b1f4103630d9d22e8354565bee
More information about the pld-cvs-commit
mailing list