From 395ba787380e4517896c332abdf4e29dea6e0eea Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 7 Oct 2020 16:44:29 +0200 Subject: update to 3.1.6RC1 add patch for old gcc from https://github.com/igbinary/igbinary/pull/291 --- PHPINFO | 2 +- REFLECTION | 2 +- php-pecl-igbinary.spec | 15 ++++++++++++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/PHPINFO b/PHPINFO index 20f6f1b..2016936 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ igbinary igbinary support => enabled -igbinary version => 3.1.5 +igbinary version => 3.1.6RC1 igbinary APCu serializer ABI => 0 igbinary session support => yes diff --git a/REFLECTION b/REFLECTION index 5d951e7..4e4d765 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #77 igbinary version 3.1.5 ] { +Extension [ extension #77 igbinary version 3.1.6RC1 ] { - Dependencies { Dependency [ standard (Required) ] diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec index a918105..c917d19 100644 --- a/php-pecl-igbinary.spec +++ b/php-pecl-igbinary.spec @@ -25,8 +25,8 @@ #global gh_date 20161018 %global ini_name 40-%{pecl_name}.ini -%global upstream_version 3.1.5 -#global upstream_prever a1 +%global upstream_version 3.1.6 +%global upstream_prever RC1 Summary: Replacement for the standard PHP serializer Name: %{?sub_prefix}php-pecl-igbinary @@ -35,12 +35,14 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 0.13.%{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: 3%{?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 URL: https://pecl.php.net/package/igbinary +Patch0: https://patch-diff.githubusercontent.com/raw/igbinary/igbinary/pull/291.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-devel > 7 @@ -143,6 +145,8 @@ mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS %{?_licensedir:sed -e '/COPYING/s/role="doc"/role="src"/' -i package.xml} cd NTS +%patch0 -p1 -b .pr + # Check version subdir="php$(%{__php} -r 'echo (PHP_MAJOR_VERSION < 7 ? 5 : 7);')" extver=$(sed -n '/#define PHP_IGBINARY_VERSION/{s/.* "//;s/".*$//;p}' src/$subdir/igbinary.h) @@ -301,6 +305,11 @@ fi %changelog +* Wed Oct 7 2020 Remi Collet - 3.1.6~RC1-1 +- update to 3.1.6RC1 +- add patch for old gcc from + https://github.com/igbinary/igbinary/pull/291 + * Wed Sep 30 2020 Remi Collet - 3.1.5-3 - rebuild for PHP 8.0.0RC1 -- cgit