[packages/php-pecl-wddx] the test suite requires pcre
glen
glen at pld-linux.org
Sat May 11 11:09:18 CEST 2019
commit 93fed7b8e7befb6a1a89dc4908570936541d6029
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sat May 11 12:08:43 2019 +0300
the test suite requires pcre
php-pecl-wddx.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-wddx.spec b/php-pecl-wddx.spec
index b1d08c8..a710202 100644
--- a/php-pecl-wddx.spec
+++ b/php-pecl-wddx.spec
@@ -25,6 +25,9 @@ BuildRequires: %{php_name}-cli
BuildRequires: %{php_name}-devel >= 4:7.3
BuildRequires: rpmbuild(macros) >= 1.666
%if %{with tests}
+BuildRequires: %{php_name}-pcre
+BuildRequires: %{php_name}-session
+BuildRequires: %{php_name}-spl
BuildRequires: %{php_name}-xml
%endif
%{?requires_php_extension}
@@ -48,7 +51,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="xml" \
+ PHP_TEST_SHARED_SYSTEM_EXTENSIONS="xml spl session" \
RUN_TESTS_SETTINGS="-q $*"
EOF
chmod +x run-tests.sh
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-wddx.git/commitdiff/93fed7b8e7befb6a1a89dc4908570936541d6029
More information about the pld-cvs-commit
mailing list