[packages/php-pecl-msgpack] pcre for tests on i486/i686

glen glen at pld-linux.org
Wed Jan 21 19:59:32 CET 2015


commit 658f850298ccd070f4ce93c693e59c9ecb6adaae
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 21 20:59:27 2015 +0200

    pcre for tests on i486/i686

 php-pecl-msgpack.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec
index 91f713e..9d123d4 100644
--- a/php-pecl-msgpack.spec
+++ b/php-pecl-msgpack.spec
@@ -17,6 +17,7 @@ BuildRequires:	%{php_name}-devel
 BuildRequires:	rpmbuild(macros) >= 1.666
 %if %{with tests}
 BuildRequires:	%{php_name}-cli
+BuildRequires:	%{php_name}-pcre
 BuildRequires:	%{php_name}-session
 BuildRequires:	%{php_name}-spl
 %endif
@@ -46,6 +47,7 @@ phpize
 # simple module load test
 %{__php} -n -q \
 	-d extension_dir=modules \
+	-d extension=%{php_extensiondir}/pcre.so \
 	-d extension=%{php_extensiondir}/spl.so \
 	-d extension=%{php_extensiondir}/session.so \
 	-d extension=%{modname}.so \
@@ -55,7 +57,7 @@ grep %{modname} modules.log
 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
 %{__make} test \
 	PHP_EXECUTABLE=%{__php} \
-	PHP_TEST_SHARED_SYSTEM_EXTENSIONS="spl session"
+	PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre spl session"
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-msgpack.git/commitdiff/658f850298ccd070f4ce93c693e59c9ecb6adaae



More information about the pld-cvs-commit mailing list