From 1000c23d1ff38ccab68043ae78186f8b3300e9de Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 18 Sep 2018 14:43:16 +0200 Subject: update to 4.2.0 (BROKEN) open https://github.com/swoole/swoole-src/issues/1982 undefined symbol: zif_time_nanosleep open https://github.com/swoole/swoole-src/issues/1983 undefined symbol: php_stream_mode_sanitize_fdopen_fopencookie --- php-pecl-swoole4.spec | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'php-pecl-swoole4.spec') diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec index fc317c1..942ce68 100644 --- a/php-pecl-swoole4.spec +++ b/php-pecl-swoole4.spec @@ -36,7 +36,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}4 -Version: 4.1.2 +Version: 4.2.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: http://pecl.php.net/package/%{pecl_name} @@ -58,8 +58,12 @@ BuildRequires: openssl-devel BuildRequires: libnghttp2-devel %endif %if %{with_pgsql} +%if 0%{?fedora} >= 30 +BuildRequires: libpq-devel > 9.5 +%else BuildRequires: postgresql-devel > 9.5 %endif +%endif %if %{with_hiredis} BuildRequires: hiredis-devel %endif @@ -159,11 +163,8 @@ These are the files needed to compile programs using %{name}. mv %{pecl_name}-%{version} NTS # Don't install/register tests, install examples as doc -sed -e '/examples/s/role="src"/role="doc"/' \ - %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ - -e '/name="tests/s/role="..."/role="test"/' \ - -e '/CMake/s/role="doc"/role="src"/' \ - -i package.xml +%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} + cd NTS @@ -340,6 +341,13 @@ cd ../ZTS %changelog +* Tue Sep 18 2018 Remi Collet - 4.2.0-1 +- update to 4.2.0 +- open https://github.com/swoole/swoole-src/issues/1982 + undefined symbol: zif_time_nanosleep +- open https://github.com/swoole/swoole-src/issues/1983 + undefined symbol: php_stream_mode_sanitize_fdopen_fopencookie + * Wed Sep 5 2018 Remi Collet - 4.1.2-1 - update to 4.1.2 -- cgit