summaryrefslogtreecommitdiffstats
path: root/php-pecl-swoole4.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-swoole4.spec')
-rw-r--r--php-pecl-swoole4.spec20
1 files changed, 10 insertions, 10 deletions
diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec
index c8a7fbd..9e60ea1 100644
--- a/php-pecl-swoole4.spec
+++ b/php-pecl-swoole4.spec
@@ -35,7 +35,7 @@
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}4
-Version: 4.2.13
+Version: 4.3.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Extension is ASL 2.0
# Hiredis is BSD
@@ -55,9 +55,6 @@ BuildRequires: %{?scl_prefix}php-sockets
BuildRequires: %{?scl_prefix}php-mysqlnd
BuildRequires: pcre-devel
BuildRequires: openssl-devel
-%if %{with_nghttpd2}
-BuildRequires: libnghttp2-devel
-%endif
%if %{with_pgsql}
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
BuildRequires: libpq-devel > 9.5
@@ -68,7 +65,6 @@ BuildRequires: postgresql-devel > 9.5
%if %{with_brotli}
BuildRequires: brotli-devel
%endif
-BuildRequires: c-ares-devel
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -207,18 +203,16 @@ g++ --version
peclbuild() {
%configure \
- --with-swoole \
+ --enable-swoole \
--enable-sockets \
+%if %{__isa_bits} == 64
--enable-trace-log \
+%endif
--enable-openssl \
-%if %{with_nghttpd2}
--enable-http2 \
-%endif
%if %{with_pgsql}
--enable-coroutine-postgresql \
%endif
- --enable-cares \
- --enable-thread \
--enable-mysqlnd \
--with-libdir=%{_lib} \
--with-php-config=$1
@@ -343,6 +337,12 @@ cd ../ZTS
%changelog
+* Thu Mar 7 2019 Remi Collet <remi@remirepo.net> - 4.3.0-1
+- update to 4.3.0
+- drop dependencies on libnghttp2 and c-ares
+- open https://github.com/swoole/swoole-src/issues/2411 32-bit broken
+- remove the --enable-trace-log build option on 32-bit
+
* Mon Feb 4 2019 Remi Collet <remi@remirepo.net> - 4.2.13-1
- update to 4.2.13