summaryrefslogtreecommitdiffstats
path: root/php-pecl-ev.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-ev.spec')
-rw-r--r--php-pecl-ev.spec17
1 files changed, 16 insertions, 1 deletions
diff --git a/php-pecl-ev.spec b/php-pecl-ev.spec
index e918225..a520a63 100644
--- a/php-pecl-ev.spec
+++ b/php-pecl-ev.spec
@@ -24,7 +24,7 @@
%global ini_name 40-%{pecl_name}.ini
%endif
-%global upstream_version 1.1.2
+%global upstream_version 1.1.3
#global upstream_prever RC3
#global upstream_postver r1
@@ -36,6 +36,9 @@ License: PHP
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}%{?upstream_postver}.tgz
+Patch0: %{pecl_name}-php5.patch
+Patch1: %{pecl_name}-php81.patch
+
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
@@ -69,6 +72,9 @@ Obsoletes: php74-pecl-%{pecl_name} <= %{version}
%if "%{php_version}" > "8.0"
Obsoletes: php80-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "8.1"
+Obsoletes: php81-pecl-%{pecl_name} <= %{version}
+%endif
%endif
@@ -89,6 +95,9 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+%patch0 -p1
+%patch1 -p1
+
# Sanity check, really often broken
extver=$(sed -n '/define PHP_EV_VERSION/{s/.* "//;s/".*$//;p}' php%(%{__php} -r 'echo PHP_MAJOR_VERSION;')/php_ev.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?upstream_postver}"; then
@@ -198,6 +207,7 @@ REPORT_EXIT_STATUS=1 \
%if %{with_zts}
: Minimal load test for ZTS extension
cd ../ZTS
+rm tests/bug43-uncaught-exception.php5.phpt
%{__ztsphp} \
$DEPMOD \
@@ -228,6 +238,11 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Mon Jul 26 2021 Remi Collet <remi@remirepo.net> - 1.1.3-1
+- update to 1.1.3
+- add patch for PHP 5 and ZTS (send upstream by email)
+- add patch for PHP 8.1.0beta1 (send upstream by email)
+
* Tue Feb 16 2021 Remi Collet <remi@remirepo.net> - 1.1.2-1
- update to 1.1.2