summaryrefslogtreecommitdiffstats
path: root/php-pecl-swoole-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-01-24 08:04:53 +0100
committerRemi Collet <fedora@famillecollet.com>2017-01-24 08:04:53 +0100
commitdbe6e3f0246014f2446fb0764b2605a9ecae57c9 (patch)
tree20ac31d167f329602a1bb0ba5c5e52bb341f0495 /php-pecl-swoole-dev.spec
parent96a3f4f794b4201ed4e5b352b131145bb63a9a6e (diff)
php-pecl-swoole: 2.0.6 (beta)
Diffstat (limited to 'php-pecl-swoole-dev.spec')
-rw-r--r--php-pecl-swoole-dev.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/php-pecl-swoole-dev.spec b/php-pecl-swoole-dev.spec
index 8992335..96ce00a 100644
--- a/php-pecl-swoole-dev.spec
+++ b/php-pecl-swoole-dev.spec
@@ -30,15 +30,13 @@
Summary: PHP's asynchronous concurrent distributed networking framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 2.0.5
+Version: 2.0.6
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Patch0: %{pecl_name}-pr992.patch
-
BuildRequires: %{?scl_prefix}php-devel >= 5.5
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-sockets
@@ -133,7 +131,6 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
-%patch0 -p1 -b .pr992
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h)
@@ -163,6 +160,8 @@ EOF
%build
+%{?dtsenable}
+
peclbuild() {
%configure \
--with-swoole \
@@ -192,6 +191,8 @@ peclbuild %{_bindir}/zts-php-config
%install
+%{?dtsenable}
+
make -C NTS \
install INSTALL_ROOT=%{buildroot}
@@ -269,6 +270,9 @@ cd ../ZTS
%changelog
+* Tue Jan 24 2017 Remi Collet <remi@fedoraproject.org> - 2.0.6-1
+- Update to 2.0.6 (beta)
+
* Fri Dec 30 2016 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
- Update to 2.0.5 (beta)
- raise dependency on PHP 5.5