]> git.pld-linux.org Git - packages/php-pecl-redis.git/commitdiff
Update ext-json built static on php 8.0 auto/th/php-pecl-redis-5.3.5-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 27 Dec 2021 19:14:28 +0000 (21:14 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 27 Dec 2021 19:14:28 +0000 (21:14 +0200)
php-pecl-redis.spec

index 9a4d3f96bfc0b3bdb8c903b7f23256f8b736d146..932e8bceee8474ee96954c5c824120358828bf93 100644 (file)
@@ -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 \
 "
 
This page took 0.157633 seconds and 4 git commands to generate.