summaryrefslogtreecommitdiffstats
path: root/php-pecl-swoole2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-swoole2.spec')
-rw-r--r--php-pecl-swoole2.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/php-pecl-swoole2.spec b/php-pecl-swoole2.spec
index 84e4a6f..9d6bc04 100644
--- a/php-pecl-swoole2.spec
+++ b/php-pecl-swoole2.spec
@@ -34,12 +34,13 @@
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}2
-Version: 2.1.0
+Version: 2.1.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
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-sockets
@@ -233,7 +234,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
-%if 0%{?fedora} < 24
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -300,6 +301,9 @@ cd ../ZTS
%changelog
+* Wed Mar 7 2018 Remi Collet <remi@remirepo.net> - 2.1.1-1
+- update to 2.1.1
+
* Fri Feb 9 2018 Remi Collet <remi@remirepo.net> - 2.1.0-1
- Update to 2.1.0
- add swoole.use_shortname option in provided configuration