From 9ee8fb908cf38ffca7effec44b778d0946b1af4e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 8 Jul 2019 07:00:26 +0200 Subject: - update to 4.4.0 - raise dependency on PHP 7.1 - drop `Serialize` module - drop `PostgreSQL` module --- php-pecl-swoole4.spec | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) (limited to 'php-pecl-swoole4.spec') 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 - 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 - 4.3.5-1 - update to 4.3.5 -- cgit