From 511fa2906d04e4845185af8f88860b86d2dd19f9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 28 Feb 2014 08:41:06 +0100 Subject: php-pecl-swoole: fix php 5.3 build for Copr --- php-pecl-swoole.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 - 1.6.11-2 +- no --enable-async-mysql with php 5.3 + * Thu Feb 27 2014 Remi Collet - 1.6.11-1 - Update to 1.6.11 -- cgit