[packages/php-pecl-mongodb] pcre for i686/x32 again

glen glen at pld-linux.org
Fri Oct 27 16:14:17 CEST 2017


commit 7ac97c34a6949652572fe5d21881b559165c5f70
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Oct 27 17:14:12 2017 +0300

    pcre for i686/x32 again

 php-pecl-mongodb.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index cc59334..9e0cfb8 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -18,6 +18,7 @@ URL:		https://pecl.php.net/package/mongodb
 BuildRequires:	%{php_name}-cli
 BuildRequires:	%{php_name}-devel >= 4:5.4.0
 BuildRequires:	%{php_name}-json
+BuildRequires:	%{php_name}-pcre
 BuildRequires:	%{php_name}-spl
 BuildRequires:	cyrus-sasl-devel
 BuildRequires:	libbson-devel >= 1.5
@@ -64,8 +65,9 @@ phpize
 # simple module load test, always enabled
 %{__php} -n -q \
 	-d extension_dir=modules \
-	-d extension=%{php_extensiondir}/json.so \
+	-d extension=%{php_extensiondir}/pcre.so \
 	-d extension=%{php_extensiondir}/spl.so \
+	-d extension=%{php_extensiondir}/json.so \
 	-d extension=%{modname}.so \
 	-m > modules.log
 grep %{modname} modules.log
@@ -76,7 +78,7 @@ cat <<'EOF' > run-tests.sh
 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
 exec %{__make} test \
 	PHP_EXECUTABLE=%{__php} \
-	PHP_TEST_SHARED_SYSTEM_EXTENSIONS="json spl" \
+	PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre spl json" \
 	RUN_TESTS_SETTINGS="-q $*"
 EOF
 chmod +x run-tests.sh
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mongodb.git/commitdiff/7ac97c34a6949652572fe5d21881b559165c5f70



More information about the pld-cvs-commit mailing list