[packages/php-pecl-memcache/dev-4.0.3] php 5.2 deps
glen
glen at pld-linux.org
Sat May 11 11:12:12 CEST 2019
commit 9600d33447799d2af91318d8bf2f7b341b267ebb
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sat May 11 12:11:16 2019 +0300
php 5.2 deps
PHP Warning: Cannot load module 'SPL' because required module 'simplexml' is not loaded in Unknown on line 0
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 e56fcaf..1d8f84a 100644
--- a/php-pecl-memcache.spec
+++ b/php-pecl-memcache.spec
@@ -31,6 +31,7 @@ BuildRequires: rpmbuild(macros) >= 1.650
BuildRequires: %{php_name}-cli
BuildRequires: %{php_name}-pcre
BuildRequires: %{php_name}-session
+BuildRequires: %{php_name}-simplexml
BuildRequires: %{php_name}-spl
BuildRequires: memcached
%endif
@@ -122,6 +123,7 @@ phpize
%{__php} -n -q \
-d extension_dir=modules \
-d extension=%{php_extensiondir}/pcre.so \
+ -d extension=%{php_extensiondir}/simplexml.so \
-d extension=%{php_extensiondir}/spl.so \
-d extension=%{php_extensiondir}/session.so \
-d extension=%{modname}.so \
@@ -133,7 +135,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="pcre spl session" \
+ PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre simplexml 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/9600d33447799d2af91318d8bf2f7b341b267ebb
More information about the pld-cvs-commit
mailing list