From ee326f50e91945130c5a94331440d3f60149000d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 31 Dec 2015 09:45:06 +0100 Subject: php-pecl-swoole: 1.7.22 --- php-pecl-swoole.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'php-pecl-swoole.spec') diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index c6bf5c2..9ccf08a 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -31,13 +31,16 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.7.21 +Version: 1.7.22 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +# see https://github.com/swoole/swoole-src/pull/462 +Patch0: %{pecl_name}-pr462.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel >= 5.3.10 BuildRequires: %{?scl_prefix}php-pear @@ -116,6 +119,7 @@ sed -e 's/role="test"/role="src"/' \ cd NTS +%patch0 -p1 -b .pr462 # Sanity check, really often broken extver=$(sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h) @@ -253,6 +257,12 @@ rm -rf %{buildroot} %changelog +* Thu Dec 31 2015 Remi Collet - 1.7.22-1 +- Update to 1.7.22 +- add patch to fix PHP 7 build + open https://github.com/swoole/swoole-src/pull/462 + open https://github.com/swoole/swoole-src/issues/461 + * Tue Dec 01 2015 Remi Collet - 1.7.21-1 - Update to 1.7.21 -- cgit