[packages/php-pecl-memcache] pcre for i686
glen
glen at pld-linux.org
Wed Nov 23 03:06:58 CET 2016
commit af5be609aeb78f7702c58d09e1abd98c8673c0b3
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Nov 23 04:06:53 2016 +0200
pcre for i686
php-pecl-memcache.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-memcache.spec b/php-pecl-memcache.spec
index 9d8dcf4..3447069 100644
--- a/php-pecl-memcache.spec
+++ b/php-pecl-memcache.spec
@@ -30,6 +30,7 @@ BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.650
%if %{with tests}
BuildRequires: %{php_name}-cli
+BuildRequires: %{php_name}-pcre
BuildRequires: %{php_name}-session
BuildRequires: %{php_name}-spl
%endif
@@ -102,6 +103,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 \
@@ -113,7 +115,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="spl session" \
+ PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre spl session" \
RUN_TESTS_SETTINGS="-q $*"
EOF
chmod +x run-tests.sh
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-memcache.git/commitdiff/af5be609aeb78f7702c58d09e1abd98c8673c0b3
More information about the pld-cvs-commit
mailing list