summaryrefslogtreecommitdiffstats
path: root/php-pecl-amqp.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-amqp.spec')
-rw-r--r--php-pecl-amqp.spec17
1 files changed, 10 insertions, 7 deletions
diff --git a/php-pecl-amqp.spec b/php-pecl-amqp.spec
index 3c54130..eeb2b1f 100644
--- a/php-pecl-amqp.spec
+++ b/php-pecl-amqp.spec
@@ -3,7 +3,7 @@
#
# Fedora spec file for php-pecl-amqp
#
-# Copyright (c) 2012-2018 Remi Collet
+# Copyright (c) 2012-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -32,16 +32,14 @@
Summary: Communicate with any AMQP compliant server
Name: %{?sub_prefix}php-pecl-amqp
-Version: 1.9.3
+Version: 1.9.4
Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: http://pecl.php.net/package/amqp
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
-Patch0: https://patch-diff.githubusercontent.com/raw/pdezwart/php-amqp/pull/323.patch
-
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel > 5.3
+BuildRequires: %{?scl_prefix}php-devel > 5.6
BuildRequires: %{?scl_prefix}php-pear
#BuildRequires: php-debuginfo valgrind gdb
# Upstream requires 0.5.2, set 0.8.0 to ensure "last" is used.
@@ -122,8 +120,6 @@ sed -e 's/role="test"/role="src"/' \
mv %{pecl_name}-%{version}%{?prever} NTS
cd NTS
-%patch0 -p1 -b .pr323
-
sed -e 's/CFLAGS="-I/CFLAGS="-fPIC -I/' -i config.m4
# Upstream often forget to change this
@@ -178,6 +174,7 @@ extension = %{pecl_name}.so
;amqp.cert = ''
;amqp.key = ''
;amqp.verify = ''
+;amqp.sasl_method = 0
EOF
%if %{with_zts}
@@ -312,6 +309,12 @@ fi
%changelog
+* Wed Jan 2 2019 Remi Collet <remi@remirepo.net> - 1.9.4-1
+- update to 1.9.4
+- drop patch merged upstream
+- raise minimal PHP version to 5.6
+ and open https://github.com/pdezwart/php-amqp/pull/338
+
* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 1.9.3-6
- rebuild for 7.3.0beta2 new ABI