From 6dae84da412cc9bce704f3306b661898aef767ac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Mar 2015 16:21:57 +0100 Subject: php-pecl-swoole: 1.7.13 --- REFLECTION | 24 ++++++++++++------------ php-pecl-swoole.spec | 14 +++++++++----- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/REFLECTION b/REFLECTION index a83e091..20d6a74 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #148 swoole version 1.7.12 ] { +Extension [ extension #153 swoole version 1.7.13 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -48,7 +48,7 @@ Extension [ extension #148 swoole version 1.7.12 ] { Constant [ integer SWOOLE_SSL ] { 512 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 1.7.12 } + Constant [ string SWOOLE_VERSION ] { 1.7.13 } Constant [ integer SWOOLE_AIO_BASE ] { 0 } Constant [ integer SWOOLE_AIO_GCC ] { 1 } Constant [ integer SWOOLE_AIO_LINUX ] { 2 } @@ -96,15 +96,6 @@ Extension [ extension #148 swoole version 1.7.12 ] { Parameter #3 [ $from_id ] } } - Function [ function swoole_server_sendto ] { - - - Parameters [4] { - Parameter #0 [ swoole_server $zobject ] - Parameter #1 [ $ip ] - Parameter #2 [ $port ] - Parameter #3 [ $send_data ] - } - } Function [ function swoole_server_sendfile ] { - Parameters [3] { @@ -643,7 +634,7 @@ Extension [ extension #148 swoole version 1.7.12 ] { Property [ public $sock ] } - - Methods [8] { + - Methods [11] { Method [ public method __construct ] { } @@ -659,9 +650,18 @@ Extension [ extension #148 swoole version 1.7.12 ] { Method [ public method sendfile ] { } + Method [ public method sendto ] { + } + Method [ public method isConnected ] { } + Method [ public method getsockname ] { + } + + Method [ public method getpeername ] { + } + Method [ public method close ] { } diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index 0df8111..b751a12 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -23,7 +23,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.7.12 +Version: 1.7.13 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD Group: Development/Languages @@ -97,7 +97,11 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -q -c mv %{pecl_name}-%{version} NTS -sed -e '/examples/s/role="src"/role="doc"/' -i package.xml +# Don't install/register tests, install examples as doc +sed -e 's/role="test"/role="src"/' \ + -e '/examples/s/role="src"/role="doc"/' \ + -i package.xml + cd NTS @@ -179,9 +183,6 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -# Don't install/register tests -sed -e 's/role="test"/role="src"/' -i package.xml - # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -240,6 +241,9 @@ rm -rf %{buildroot} %changelog +* Wed Mar 18 2015 Remi Collet - 1.7.13-1 +- Update to 1.7.13 + * Thu Mar 12 2015 Remi Collet - 1.7.12-1 - Update to 1.7.12 -- cgit