diff options
Diffstat (limited to 'php-pecl-igbinary.spec')
-rw-r--r-- | php-pecl-igbinary.spec | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec index 36e939f..87ed1d3 100644 --- a/php-pecl-igbinary.spec +++ b/php-pecl-igbinary.spec @@ -27,7 +27,7 @@ Summary: Replacement for the standard PHP serializer Name: %{?scl_prefix}php-pecl-igbinary Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 7%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD-3-Clause URL: https://pecl.php.net/package/igbinary Source0: https://pecl.php.net/get/%{sources}.tgz @@ -195,6 +195,32 @@ if [ -f %{php_extdir}/json.so ]; then fi %if %{with tests} +%if "%{php_version}" > "8.5" +# __sleep() serialization magic method has been deprecated. +rm tests/igbinary_016.phpt +rm tests/igbinary_017.phpt +rm tests/igbinary_018.phpt +rm tests/igbinary_025.phpt +rm tests/igbinary_025b.phpt +rm tests/igbinary_032.phpt +rm tests/igbinary_051.phpt +rm tests/igbinary_053.phpt +rm tests/igbinary_054.phpt +rm tests/igbinary_055.phpt +rm tests/igbinary_058.phpt +rm tests/igbinary_058b.phpt +rm tests/igbinary_061.phpt +rm tests/igbinary_065.phpt +rm tests/igbinary_078.phpt +rm tests/igbinary_084.phpt +rm tests/igbinary_084b.phpt +rm tests/igbinary_087.phpt +rm tests/igbinary_088.phpt +rm tests/__serialize_004.phpt +rm tests/__serialize_015.phpt +rm tests/sleep_mangled_name_clash.phpt +%endif + %if "%{php_version}" > "8.0" OPTS="-q --show-diff %{?_smp_mflags}" %else @@ -203,11 +229,7 @@ OPTS="-q -P --show-diff" : upstream NTS test suite TEST_PHP_ARGS="-n $MOD -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ -%if "%{php_version}" > "8.5" -REPORT_EXIT_STATUS=0 \ -%else REPORT_EXIT_STATUS=1 \ -%endif %{__php} -n run-tests.php $OPTS %endif @@ -243,6 +265,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Sep 29 2025 Remi Collet <remi@remirepo.net> - 3.2.16-7 +- only ignore tests using deprecated call in PHP 8.5 + * Thu Sep 25 2025 Remi Collet <remi@remirepo.net> - 3.2.16-6 - rebuild for PHP 8.5.0RC1 - disable test suite with PHP 8.5 |