diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-02-28 08:41:06 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-02-28 08:41:06 +0100 |
commit | 511fa2906d04e4845185af8f88860b86d2dd19f9 (patch) | |
tree | 40bc5d90785f243897f0fdbb7931f19f138e7f87 | |
parent | d1467c2fc293955127e6ce9708d17c0ad4d389a7 (diff) |
php-pecl-swoole: fix php 5.3 build for Copr
-rw-r--r-- | php-pecl-swoole.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index c913656..56cad93 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -17,7 +17,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.6.11 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -108,7 +108,9 @@ peclbuild() { --with-swoole \ --enable-msgqueue \ --enable-sockets \ +%if "%{php_version}" > "5.4" --enable-async-mysql \ +%endif --with-php-config=$1 make %{?_smp_mflags} @@ -198,6 +200,9 @@ rm -rf %{buildroot} %changelog +* Fri Feb 28 2014 Remi Collet <remi@fedoraproject.org> - 1.6.11-2 +- no --enable-async-mysql with php 5.3 + * Thu Feb 27 2014 Remi Collet <remi@fedoraproject.org> - 1.6.11-1 - Update to 1.6.11 |