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.spec25
1 files changed, 19 insertions, 6 deletions
diff --git a/php-pecl-swoole5.spec b/php-pecl-swoole5.spec
index 2191a6e..69e0d30 100644
--- a/php-pecl-swoole5.spec
+++ b/php-pecl-swoole5.spec
@@ -24,11 +24,11 @@
%bcond_with oracle
%ifarch aarch64
-%global oraclever 19.19
+%global oraclever 19.22
%global oraclelib 19.1
-%global oracledir 19.19
+%global oracledir 19.22
%else
-%global oraclever 21.11
+%global oraclever 21.13
%global oraclelib 21.1
%global oracledir 21
%endif
@@ -54,7 +54,7 @@
%bcond_without nghttpd2
-%global upstream_version 5.1.2
+%global upstream_version 5.1.3
#global upstream_prever RC2
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
@@ -70,7 +70,8 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-Patch0: https://patch-diff.githubusercontent.com/raw/swoole/swoole-src/pull/5239.patch
+Patch0: 0001-missing-header.patch
+Patch1: 0002-fix-implicit-int.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
@@ -191,7 +192,8 @@ sed \
cd %{sources}
-%patch -P0 -p1 -b .out
+%patch -P0 -p1
+%patch -P1 -p1
cp -p thirdparty/hiredis/COPYING hiredis-COPYING
%if %{with nghttpd2}
@@ -252,6 +254,8 @@ peclbuild() {
%endif
%if %{with brotli}
--enable-brotli \
+%else
+ --disable-brotli \
%endif
%if %{with nghttpd2}
--with-nghttp2-dir=%{_root_prefix} \
@@ -385,6 +389,15 @@ cd ../ZTS
%changelog
+* Thu Jun 6 2024 Remi Collet <remi@remirepo.net> - 5.1.3-1
+- update to 5.1.3
+- fix build warnings (errors with GCC 14) using patch from
+ https://github.com/swoole/swoole-src/pull/5363
+
+* Mon May 13 2024 Remi Collet <remi@remirepo.net> - 5.1.2-2
+- refresh sources
+- drop patch merged upstream
+
* Wed Jan 24 2024 Remi Collet <remi@remirepo.net> - 5.1.2-1
- update to 5.1.2
- fix out of sources tree build using patch from