summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-01-12 15:20:09 +0100
committerRemi Collet <remi@php.net>2022-01-12 15:20:09 +0100
commit807f155cd080ee7cb94fd6c7158175535b9fb8c3 (patch)
tree4bf6f8728102e5b124b12623209a63190ae73637
parenteb47f0831fb80913c6dd99779b3471bf11879994 (diff)
update to 3.2.7
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-igbinary.spec27
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 [ <persistent> extension #75 igbinary version 3.2.6 ] {
+Extension [ <persistent> 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 <remi@remirepo.net> - 3.2.7-1
+- update to 3.2.7
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 3.2.6-2
- rebuild for 8.1.0RC1