diff options
Diffstat (limited to 'php-pecl-swoole6.spec')
| -rw-r--r-- | php-pecl-swoole6.spec | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/php-pecl-swoole6.spec b/php-pecl-swoole6.spec index 52e9848..9728481 100644 --- a/php-pecl-swoole6.spec +++ b/php-pecl-swoole6.spec @@ -43,13 +43,11 @@ %bcond_without zstd %bcond_without curl %bcond_without nghttpd2 +%bcond_without firebird # Conflicts with ssh2/ftp extensions # See https://github.com/swoole/swoole-src/issues/6003 %bcond_with ssh2 %bcond_with ftp -# Disabled by default to avoid dependencies (pdo_firebird and libfbclient) -# See https://github.com/swoole/swoole-src/issues/6004 -%bcond_with firebird %global upstream_version 6.2.0 %global upstream_prever RC1 @@ -59,7 +57,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?scl_prefix}php-pecl-%{pecl_name}6 Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} # Extension is Apache-2.0 # BSD-3-Clause: Hiredis # MIT: nlohmann/json, nghttp2, llhttp @@ -67,6 +65,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: 6013.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?dtsprefix}gcc-c++ @@ -125,9 +125,6 @@ Requires: %{?scl_prefix}php-json%{?_isa} Requires: %{?scl_prefix}php-sockets%{?_isa} Requires: %{?scl_prefix}php-mysqlnd%{?_isa} Requires: %{?scl_prefix}php-pdo%{?_isa} -%if %{with firebird} -Requires: %{?scl_prefix}php-pdo-firebird%{?_isa} -%endif # Extension Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} @@ -208,6 +205,8 @@ sed \ cd %{sources} +%patch -P0 -p1 + cp -p thirdparty/hiredis/COPYING hiredis-COPYING %if %{with nghttpd2} rm -r thirdparty/nghttp2 @@ -360,7 +359,6 @@ OPT="--no-php-ini" [ -f %{php_extdir}/sockets.so ] && OPT="$OPT -d extension=sockets" [ -f %{php_extdir}/mysqlnd.so ] && OPT="$OPT -d extension=mysqlnd" [ -f %{php_extdir}/pdo.so ] && OPT="$OPT -d extension=pdo" -[ -f %{php_extdir}/pdo_firebird.so ] && OPT="$OPT -d extension=pdo_firebird" cd NTS : Minimal load test for NTS extension @@ -408,6 +406,10 @@ cd ../ZTS %changelog +* Fri Feb 27 2026 Remi Collet <remi@remirepo.net> - 6.2.0~RC1-2 +- enable firebird using patch from + https://github.com/swoole/swoole-src/pull/6013 + * Tue Feb 17 2026 Remi Collet <remi@remirepo.net> - 6.2.0~RC1-1 - update to 6.2.0RC1 - disable io_uring feature |
