commit ef0230c695c94052c65033c0aa3411069fd7c0e0
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Nov 23 03:54:58 2016 +0200

    session requires spl (sometimes)

 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 58a3a48..e2f6502 100644
--- a/php-pecl-memcache.spec
+++ b/php-pecl-memcache.spec
@@ -30,6 +30,7 @@ BuildRequires:        rpmbuild(macros) >= 1.650
 %if %{with tests}
 BuildRequires: %{php_name}-cli
 BuildRequires: %{php_name}-session
+BuildRequires: %{php_name}-spl
 %endif
 %{?requires_php_extension}
 Requires:      %{php_name}-session
@@ -99,6 +100,7 @@ phpize
 # simple module load test
 %{__php} -n -q \
        -d extension_dir=modules \
+       -d extension=%{php_extensiondir}/spl.so \
        -d extension=%{php_extensiondir}/session.so \
        -d extension=%{modname}.so \
        -m > modules.log
@@ -109,7 +111,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="session" \
+       PHP_TEST_SHARED_SYSTEM_EXTENSIONS="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/ef0230c695c94052c65033c0aa3411069fd7c0e0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to