From 5a67998a57091136bf8a47e6a0b6a294b10c2ad1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 15 Apr 2014 08:23:02 +0200 Subject: php-pecl-amqp: minor cleanup --- php-pecl-amqp.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/php-pecl-amqp.spec b/php-pecl-amqp.spec index 9b738b6..e179248 100644 --- a/php-pecl-amqp.spec +++ b/php-pecl-amqp.spec @@ -15,7 +15,6 @@ %global with_zts 0%{?__ztsphp:1} %global with_tests %{?_with_tests:1}%{!?_with_tests:0} %global pecl_name amqp - %if "%{php_version}" < "5.6" %global ini_name %{pecl_name}.ini %else @@ -81,8 +80,6 @@ from any queue. mv %{pecl_name}-%{version}%{?prever} NTS cd NTS -sed -e '/PHP_AMQP_VERSION/s/1.4.0beta1/%{version}%{?prever}/' -i php_amqp.h - # Upstream often forget to change this extver=$(sed -n '/#define PHP_AMQP_VERSION/{s/.* "//;s/".*$//;p}' php_amqp.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -122,6 +119,12 @@ extension = %{pecl_name}.so ; The virtual host on the broker to which to connect. ;amqp.vhost = / + +; Timeout +;amqp.timeout= +;amqp.read_timeout=0 +;amqp.write_timeout=0 +;amqp.connect_timeout=0 EOF %if %{with_zts} -- cgit