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.spec12
1 files changed, 5 insertions, 7 deletions
diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec
index aae12ca..d0d8756 100644
--- a/php-pecl-swoole4.spec
+++ b/php-pecl-swoole4.spec
@@ -41,17 +41,15 @@
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}4
-Version: 4.0.0
+Version: 4.0.1
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Patch0: https://patch-diff.githubusercontent.com/raw/swoole/swoole-src/pull/1717.patch
-
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?dtsprefix}gcc-c++
-BuildRequires: %{?scl_prefix}php-devel > 7.1
+BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-sockets
BuildRequires: %{?scl_prefix}php-mysqlnd
@@ -152,8 +150,6 @@ sed -e '/examples/s/role="src"/role="doc"/' \
cd NTS
-%patch0 -p1 -b .pr1717
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h)
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
@@ -202,7 +198,6 @@ peclbuild() {
%endif
--enable-thread \
--enable-mysqlnd \
- --enable-coroutine \
--with-libdir=%{_lib} \
--with-php-config=$1
@@ -315,6 +310,9 @@ cd ../ZTS
%changelog
+* Thu Jun 21 2018 Remi Collet <remi@remirepo.net> - 4.0.1-1
+- update to 4.0.1
+
* Thu Jun 14 2018 Remi Collet <remi@remirepo.net> - 4.0.0-1
- update to 4.0.0
- rename to php-pecl-swoole4