summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-12-13 13:45:32 +0100
committerRemi Collet <remi@php.net>2023-12-13 13:45:32 +0100
commit1d095f660d2b1ca4d6be540d5ed0ad2d54153cbc (patch)
tree983b1d00a888933801b23371512931219a8239ed
parentaf9d4401d7a2d4de3de3fa0da691d60266977882 (diff)
update to 4.1.2HEADmaster
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-luasandbox.spec16
2 files changed, 13 insertions, 5 deletions
diff --git a/REFLECTION b/REFLECTION
index 5c34cb4..027d998 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #80 luasandbox version 4.1.1 ] {
+Extension [ <persistent> extension #77 luasandbox version 4.1.2 ] {
- Classes [10] {
Class [ <internal:luasandbox> class LuaSandbox ] {
diff --git a/php-pecl-luasandbox.spec b/php-pecl-luasandbox.spec
index 6581b4f..521b3c2 100644
--- a/php-pecl-luasandbox.spec
+++ b/php-pecl-luasandbox.spec
@@ -20,8 +20,8 @@
Summary: Lua interpreter with limits and safe environment
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 4.1.1
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 4.1.2
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
URL: https://pecl.php.net/package/%{proj_name}
Source0: https://pecl.php.net/get/%{sources}.tgz
@@ -132,6 +132,11 @@ done
%check
cd %{sources}
+OPTS=" -q -P --show-diff"
+%if "%{php_version}" > "8.0"
+OPTS="$OPTS %{?_smp_mflags}"
+%endif
+
: ignore test with erratic results
rm tests/profiler.phpt
@@ -144,7 +149,7 @@ rm tests/profiler.phpt
: Upstream test suite for NTS extension
TEST_PHP_ARGS="-n -d extension=$PWD/../NTS/modules/%{pecl_name}.so" \
REPORT_EXIT_STATUS=1 \
-%{__php} -n run-tests.php -q -P --show-diff
+%{__php} -n run-tests.php $OPTS
%endif
%if %{with_zts}
@@ -157,7 +162,7 @@ REPORT_EXIT_STATUS=1 \
%if %{with tests}
TEST_PHP_ARGS="-n -d extension=$PWD/../ZTS/modules/%{pecl_name}.so" \
REPORT_EXIT_STATUS=1 \
-%{__ztsphp} -n run-tests.php -q -P --show-diff
+%{__ztsphp} -n run-tests.php $OPTS
%endif
%endif
@@ -197,6 +202,9 @@ fi
%changelog
+* Wed Dec 13 2023 Remi Collet <remi@remirepo.net> - 4.1.2-1
+- update to 4.1.2
+
* Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 4.1.1-2
- rebuild for PHP 8.3.0RC1