From 807f155cd080ee7cb94fd6c7158175535b9fb8c3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 12 Jan 2022 15:20:09 +0100 Subject: update to 3.2.7 --- PHPINFO | 2 +- REFLECTION | 2 +- php-pecl-igbinary.spec | 27 ++++++++++++++++----------- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/PHPINFO b/PHPINFO index 0153c83..d2bfbe8 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ igbinary igbinary support => enabled -igbinary version => 3.2.6 +igbinary version => 3.2.7 igbinary APCu serializer ABI => 0 igbinary session support => yes diff --git a/REFLECTION b/REFLECTION index 316bf5a..42c14cb 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #75 igbinary version 3.2.6 ] { +Extension [ extension #76 igbinary version 3.2.7 ] { - Dependencies { Dependency [ standard (Required) ] diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec index 7985223..409b5e2 100644 --- a/php-pecl-igbinary.spec +++ b/php-pecl-igbinary.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-igbinary # -# Copyright (c) 2010-2021 Remi Collet +# Copyright (c) 2010-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -25,7 +25,7 @@ #global gh_date 20161018 %global ini_name 40-%{pecl_name}.ini -%global upstream_version 3.2.6 +%global upstream_version 3.2.7 #global upstream_prever RC1 Summary: Replacement for the standard PHP serializer @@ -35,7 +35,7 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 0.14.%{gh_date}.%{gh_short}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Source0: https://github.com/%{pecl_name}/%{pecl_name}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz %endif License: BSD @@ -220,7 +220,7 @@ sed -e '/^extension=/d' -i ?TS/tests/*phpt : simple NTS module load test, without APCu, as optional %{_bindir}/php --no-php-ini \ --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} + --modules | grep '^%{pecl_name}$' # APC required for test 045* if [ -f %{php_extdir}/apcu.so ]; then @@ -231,27 +231,29 @@ if [ -f %{php_extdir}/json.so ]; then MOD="$MOD -d extension=json.so" fi +%if "{php_version}" >= "8.0" +OPTS="-q --show-diff %{?_smp_mflags}" +%else +OPTS="-q -P --show-diff" +%endif + : upstream test suite cd NTS -TEST_PHP_EXECUTABLE=%{_bindir}/php \ TEST_PHP_ARGS="-n $MOD -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ -NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{_bindir}/php -n run-tests.php --show-diff +%{_bindir}/php -n run-tests.php $OPTS %if %{with_zts} : simple ZTS module load test, without APCu, as optional %{__ztsphp} --no-php-ini \ --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} + --modules | grep '^%{pecl_name}$' : upstream test suite cd ../ZTS -TEST_PHP_EXECUTABLE=%{__ztsphp} \ TEST_PHP_ARGS="-n $MOD -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ -NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__ztsphp} -n run-tests.php --show-diff +%{__ztsphp} -n run-tests.php $OPTS %endif @@ -299,6 +301,9 @@ fi %changelog +* Wed Jan 12 2022 Remi Collet - 3.2.7-1 +- update to 3.2.7 + * Wed Sep 01 2021 Remi Collet - 3.2.6-2 - rebuild for 8.1.0RC1 -- cgit