summaryrefslogtreecommitdiffstats
path: root/php-pecl-swoole5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-swoole5.spec')
-rw-r--r--php-pecl-swoole5.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/php-pecl-swoole5.spec b/php-pecl-swoole5.spec
index 8d316fb..a026054 100644
--- a/php-pecl-swoole5.spec
+++ b/php-pecl-swoole5.spec
@@ -58,6 +58,7 @@ URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
Patch0: %{pecl_name}-syslib.patch
+Patch1: %{pecl_name}-php83.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
@@ -93,7 +94,6 @@ Requires: %{?scl_prefix}php-curl%{?_isa}
Requires: %{?scl_prefix}php-json%{?_isa}
Requires: %{?scl_prefix}php-sockets%{?_isa}
Requires: %{?scl_prefix}php-mysqlnd%{?_isa}
-%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
@@ -165,6 +165,7 @@ sed \
cd %{sources}
%patch -P0 -p1 -b .pr5038
+%patch -P1 -p1 -b .php83
cp -p thirdparty/hiredis/COPYING hiredis-COPYING
%if %{with nghttpd2}
@@ -237,14 +238,14 @@ make %{?_smp_mflags}
}
cd %{sources}
-%{_bindir}/phpize
+%{__phpize}
cd ../NTS
-peclbuild %{_bindir}/php-config
+peclbuild %{__phpconfig}
%if %{with_zts}
cd ../ZTS
-peclbuild %{_bindir}/zts-php-config
+peclbuild %{__ztsphpconfig}
%endif
@@ -354,6 +355,9 @@ cd ../ZTS
%changelog
+* Mon Sep 4 2023 Remi Collet <remi@remirepo.net> - 5.0.3-2
+- add upstream patch for PHP 8.3
+
* Wed Apr 26 2023 Remi Collet <remi@remirepo.net> - 5.0.3-1
- update to 5.0.3
- use system libnghttp2