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.spec30
1 files changed, 10 insertions, 20 deletions
diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec
index ba10a55..db8f067 100644
--- a/php-pecl-swoole4.spec
+++ b/php-pecl-swoole4.spec
@@ -20,11 +20,6 @@
# After 20-sockets
%global ini_name 40-%{pecl_name}.ini
-%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
-%global with_pgsql 1
-%else
-%global with_pgsql 0
-%endif
%global with_nghttpd2 1
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 8
%global with_brotli 1
@@ -35,7 +30,7 @@
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}4
-Version: 4.3.5
+Version: 4.4.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Extension is ASL 2.0
# Hiredis is BSD
@@ -49,19 +44,12 @@ BuildRequires: devtoolset-6-toolchain
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?dtsprefix}gcc-c++
%endif
-BuildRequires: %{?scl_prefix}php-devel > 7
+BuildRequires: %{?scl_prefix}php-devel > 7.1
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-sockets
BuildRequires: %{?scl_prefix}php-mysqlnd
BuildRequires: pcre-devel
BuildRequires: openssl-devel
-%if %{with_pgsql}
-%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
-BuildRequires: libpq-devel > 9.5
-%else
-BuildRequires: postgresql-devel > 9.5
-%endif
-%endif
%if %{with_brotli}
BuildRequires: brotli-devel
%endif
@@ -97,10 +85,8 @@ Conflicts: %{?sub_prefix}php-pecl-%{pecl_name}2 < 4
%endif
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-%if "%{php_version}" > "7.1"
Obsoletes: php71u-pecl-%{pecl_name}4 <= %{version}
Obsoletes: php71w-pecl-%{pecl_name}4 <= %{version}
-%endif
%if "%{php_version}" > "7.2"
Obsoletes: php72u-pecl-%{pecl_name}4 <= %{version}
Obsoletes: php72w-pecl-%{pecl_name}4 <= %{version}
@@ -194,6 +180,8 @@ extension=%{pecl_name}.so
; Configuration
;swoole.enable_coroutine = On
+;swoole.enable_library = On
+;swoole.enable_preemptive_scheduler = Off
;swoole.display_errors = On
:swoole.use_shortname = On
;swoole.fast_serialize = Off
@@ -215,11 +203,7 @@ peclbuild() {
--enable-trace-log \
--enable-openssl \
--enable-http2 \
-%if %{with_pgsql}
- --enable-coroutine-postgresql \
-%endif
--enable-mysqlnd \
- --enable-scheduler-tick \
--with-libdir=%{_lib} \
--with-php-config=$1
@@ -343,6 +327,12 @@ cd ../ZTS
%changelog
+* Sun Jul 7 2019 Remi Collet <remi@remirepo.net> - 4.4.0-1
+- update to 4.4.0
+- raise dependency on PHP 7.1
+- drop `Serialize` module
+- drop `PostgreSQL` module
+
* Fri Jun 14 2019 Remi Collet <remi@remirepo.net> - 4.3.5-1
- update to 4.3.5