From 1d095f660d2b1ca4d6be540d5ed0ad2d54153cbc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Dec 2023 13:45:32 +0100 Subject: update to 4.1.2 --- REFLECTION | 2 +- php-pecl-luasandbox.spec | 16 ++++++++++++---- 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 [ extension #80 luasandbox version 4.1.1 ] { +Extension [ extension #77 luasandbox version 4.1.2 ] { - Classes [10] { Class [ 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 - 4.1.2-1 +- update to 4.1.2 + * Wed Aug 30 2023 Remi Collet - 4.1.1-2 - rebuild for PHP 8.3.0RC1 -- cgit