From ecd58d0aca2611fbf91cccd4b7be512b86689b60 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Oct 2020 07:22:53 +0100 Subject: update to 3.0.0 --- PHPINFO | 2 +- REFLECTION | 14 +++++--------- php-pecl-event.spec | 32 ++++++++++++++------------------ 3 files changed, 20 insertions(+), 28 deletions(-) diff --git a/PHPINFO b/PHPINFO index 274ef47..7c7b5cb 100644 --- a/PHPINFO +++ b/PHPINFO @@ -7,5 +7,5 @@ Debug support => disabled Extra functionality support including HTTP, DNS, and RPC => enabled OpenSSL support => enabled Thread safety support => disabled -Extension version => 2.5.6 +Extension version => 3.0.0 libevent2 headers version => 2.1.8-stable diff --git a/REFLECTION b/REFLECTION index 8f8e2e7..caed626 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #114 event version 2.5.6 ] { +Extension [ extension #117 event version 3.0.0 ] { - Dependencies { Dependency [ sockets (Required) ] @@ -186,22 +186,19 @@ Extension [ extension #114 event version 2.5.6 ] { Method [ final public method __sleep ] { - - Parameters [1] { - Parameter #0 [ $cfg ] + - Parameters [0] { } } Method [ final public method __wakeup ] { - - Parameters [1] { - Parameter #0 [ $cfg ] + - Parameters [0] { } } Method [ public method getMethod ] { - - Parameters [1] { - Parameter #0 [ $cfg ] + - Parameters [0] { } } @@ -1239,8 +1236,7 @@ Extension [ extension #114 event version 2.5.6 ] { Method [ final public method __wakeup ] { - - Parameters [1] { - Parameter #0 [ $cfg ] + - Parameters [0] { } } diff --git a/php-pecl-event.spec b/php-pecl-event.spec index 56d33ae..8764f78 100644 --- a/php-pecl-event.spec +++ b/php-pecl-event.spec @@ -30,7 +30,7 @@ # After 20-sockets.so %global ini_name 40-%{pecl_name}.ini %endif -%global upstream_version 2.5.6 +%global upstream_version 3.0.0 #global upstream_prever RC3 Summary: Provides interface to libevent library @@ -67,30 +67,18 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{relea Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %endif -%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -%if "%{php_version}" > "5.6" -Obsoletes: php56u-pecl-%{pecl_name} <= %{version} -Obsoletes: php56w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.0" -Obsoletes: php70u-pecl-%{pecl_name} <= %{version} -Obsoletes: php70w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.1" -Obsoletes: php71u-pecl-%{pecl_name} <= %{version} -Obsoletes: php71w-pecl-%{pecl_name} <= %{version} -%endif +%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} %if "%{php_version}" > "7.2" Obsoletes: php72u-pecl-%{pecl_name} <= %{version} -Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.3" Obsoletes: php73-pecl-%{pecl_name} <= %{version} -Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{pecl_name} <= %{version} -Obsoletes: php74w-pecl-%{pecl_name} <= %{version} +%endif +%if "%{php_version}" > "8.0" +Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif %endif @@ -203,7 +191,9 @@ done %check %if "%{php_version}" < "7" +rm ?TS/tests/61-issue.phpt rm ?TS/tests/10-event-data-dtor.phpt +rm ?TS/tests/27-event-util-create-socket.phpt %endif if [ -f %{php_extdir}/sockets.so ]; then @@ -234,7 +224,7 @@ REPORT_EXIT_STATUS=1 \ %if %{with_zts} cd ../ZTS %if 0%{?rhel} == 6 -rm tests/27-event-util-create-socket.phpt +rm -f tests/27-event-util-create-socket.phpt %endif : Upstream test suite for ZTS extension @@ -282,6 +272,12 @@ fi %changelog +* Wed Oct 28 2020 Remi Collet - 3.0.0-1 +- update to 3.0.0 + +* Mon Sep 7 2020 Remi Collet - 2.5.7-1 +- update to 2.5.7 + * Wed May 20 2020 Remi Collet - 2.5.6-1 - update to 2.5.6 -- cgit