From fa5c7f9c75ecba4140fd35cfa9dc9beecbfca1db Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 25 Sep 2025 07:29:26 +0200 Subject: rebuild for PHP 8.5.0RC1 disable test suite with PHP 8.5 --- php-pecl-igbinary.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'php-pecl-igbinary.spec') diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec index 7240fde..36e939f 100644 --- a/php-pecl-igbinary.spec +++ b/php-pecl-igbinary.spec @@ -27,13 +27,14 @@ Summary: Replacement for the standard PHP serializer Name: %{?scl_prefix}php-pecl-igbinary Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 6%{?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 Patch0: 393.patch Patch1: 398.patch +Patch2: 399.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -96,6 +97,7 @@ sed -e '/COPYING/s/role="doc"/role="src"/' -i package.xml pushd %{sources} %patch -P0 -p1 -b .pr393 %patch -P1 -p1 -b .pr398 +%patch -P2 -p1 -b .pr399 # Check version subdir=php7 @@ -201,7 +203,11 @@ 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 @@ -237,6 +243,14 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Sep 25 2025 Remi Collet - 3.2.16-6 +- rebuild for PHP 8.5.0RC1 +- disable test suite with PHP 8.5 + +* Mon Sep 1 2025 Remi Collet - 3.2.16-5 +- fix for PHP 8.5.0beta2 using patch from + https://github.com/igbinary/igbinary/pull/399 + * Wed Jul 30 2025 Remi Collet - 3.2.16-4 - fix for PHP 8.5.0alpha3 using patch from https://github.com/igbinary/igbinary/pull/398 -- cgit