summaryrefslogtreecommitdiffstats
path: root/php-pecl-swoole4.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-18 14:43:16 +0200
committerRemi Collet <remi@remirepo.net>2018-09-18 14:43:16 +0200
commit1000c23d1ff38ccab68043ae78186f8b3300e9de (patch)
treed44b949f9d2354ccfd25dfcf2f15c120e5428db6 /php-pecl-swoole4.spec
parentb6549f7aacc999c9d2241a1fa559124498dfce11 (diff)
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
Diffstat (limited to 'php-pecl-swoole4.spec')
-rw-r--r--php-pecl-swoole4.spec20
1 files changed, 14 insertions, 6 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 4.1.2-1
- update to 4.1.2