summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-10-28 07:22:53 +0100
committerRemi Collet <remi@remirepo.net>2020-10-28 07:22:53 +0100
commitecd58d0aca2611fbf91cccd4b7be512b86689b60 (patch)
tree5a8dac6edb5f3f44e392680ca65e0cb7723cb1ae
parent38c42108dbeb07df220c1cf84dcc7fb64d67efd8 (diff)
update to 3.0.0
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION14
-rw-r--r--php-pecl-event.spec32
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 [ <persistent> extension #114 event version 2.5.6 ] {
+Extension [ <persistent> extension #117 event version 3.0.0 ] {
- Dependencies {
Dependency [ sockets (Required) ]
@@ -186,22 +186,19 @@ Extension [ <persistent> extension #114 event version 2.5.6 ] {
Method [ <internal:event> final public method __sleep ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $cfg ]
+ - Parameters [0] {
}
}
Method [ <internal:event> final public method __wakeup ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $cfg ]
+ - Parameters [0] {
}
}
Method [ <internal:event> public method getMethod ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $cfg ]
+ - Parameters [0] {
}
}
@@ -1239,8 +1236,7 @@ Extension [ <persistent> extension #114 event version 2.5.6 ] {
Method [ <internal:event> final public method __wakeup ] {
- - Parameters [1] {
- Parameter #0 [ <optional> $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 <remi@remirepo.net> - 3.0.0-1
+- update to 3.0.0
+
+* Mon Sep 7 2020 Remi Collet <remi@remirepo.net> - 2.5.7-1
+- update to 2.5.7
+
* Wed May 20 2020 Remi Collet <remi@remirepo.net> - 2.5.6-1
- update to 2.5.6