[packages/php-pecl-redis] Update ext-json built static on php 8.0

glen glen at pld-linux.org
Mon Dec 27 20:14:39 CET 2021


commit b976dfe15ffd34320afb155b4af176becb2e6757
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Dec 27 21:14:28 2021 +0200

    Update ext-json built static on php 8.0

 php-pecl-redis.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-redis.spec b/php-pecl-redis.spec
index 9a4d3f9..932e8bc 100644
--- a/php-pecl-redis.spec
+++ b/php-pecl-redis.spec
@@ -71,7 +71,7 @@ phpize
 %{__make}
 
 export TEST_PHP_EXECUTABLE="%{__php}"
-export TEST_PHP_ARGS=" -n \
+export TEST_PHP_ARGS=" -n -q -d display_errors=off \
 	-dextension_dir=modules \
 %if "%php_major_version.%php_minor_version" < "7.4"
 	-dextension=%{php_extensiondir}/pcre.so \
@@ -79,7 +79,9 @@ export TEST_PHP_ARGS=" -n \
 %endif
 	-dextension=%{php_extensiondir}/simplexml.so \
 	-dextension=%{php_extensiondir}/session.so \
+%if "%php_major_version.%php_minor_version" < "8.0"
 	-dextension=%{php_extensiondir}/json.so \
+%endif
 	-dextension=%{modname}.so \
 "
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-redis.git/commitdiff/b976dfe15ffd34320afb155b4af176becb2e6757



More information about the pld-cvs-commit mailing list