summaryrefslogtreecommitdiffstats
path: root/php-pecl-igbinary.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-10-07 16:44:29 +0200
committerRemi Collet <remi@remirepo.net>2020-10-07 16:44:29 +0200
commit395ba787380e4517896c332abdf4e29dea6e0eea (patch)
treee2020b307bb8e29e9a7ddb8343370ec333cd620c /php-pecl-igbinary.spec
parent356cd9f733900bced29421481674a84e5d61f42f (diff)
update to 3.1.6RC1
add patch for old gcc from https://github.com/igbinary/igbinary/pull/291
Diffstat (limited to 'php-pecl-igbinary.spec')
-rw-r--r--php-pecl-igbinary.spec15
1 files changed, 12 insertions, 3 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 3.1.5-3
- rebuild for PHP 8.0.0RC1