summaryrefslogtreecommitdiffstats
path: root/php-pecl-event.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-event.spec')
-rw-r--r--php-pecl-event.spec32
1 files changed, 14 insertions, 18 deletions
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