[packages/php-pecl-apcu_bc] ext-pcre for tests on php72

glen glen at pld-linux.org
Thu Nov 9 22:14:11 CET 2017


commit 2ee0403bfb209882be5f0d5fc88affe836f042fd
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Nov 9 23:14:06 2017 +0200

    ext-pcre for tests on php72

 php-pecl-apcu_bc.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-apcu_bc.spec b/php-pecl-apcu_bc.spec
index 68bc16c..dfbc976 100644
--- a/php-pecl-apcu_bc.spec
+++ b/php-pecl-apcu_bc.spec
@@ -18,6 +18,7 @@ BuildRequires:	%{php_name}-devel >= 4:7.0.0
 BuildRequires:	%{php_name}-pecl-apcu-devel
 BuildRequires:	rpmbuild(macros) >= 1.666
 %if %{with tests}
+BuildRequires:	%{php_name}-pcre
 BuildRequires:	%{php_name}-pecl-apcu
 %endif
 %{?requires_php_extension}
@@ -38,7 +39,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="apcu" \
+	PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre apcu" \
 	RUN_TESTS_SETTINGS="-q $*"
 EOF
 chmod +x run-tests.sh
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-apcu_bc.git/commitdiff/2ee0403bfb209882be5f0d5fc88affe836f042fd



More information about the pld-cvs-commit mailing list