summaryrefslogtreecommitdiffstats
path: root/php-pecl-amqp.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-15 08:23:02 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-15 08:23:02 +0200
commit5a67998a57091136bf8a47e6a0b6a294b10c2ad1 (patch)
tree82d52e1cfc560c1925927a1c08846d13d6f2b19a /php-pecl-amqp.spec
parent7a3509aa412779f6e639c7512fa5d4436ba0caeb (diff)
php-pecl-amqp: minor cleanup
Diffstat (limited to 'php-pecl-amqp.spec')
-rw-r--r--php-pecl-amqp.spec9
1 files 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}