summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-04-19 16:49:09 +0200
committerRemi Collet <fedora@famillecollet.com>2013-04-19 16:49:09 +0200
commit47e978008ab4cc7626baa8dfa049773491b53c6b (patch)
tree4b5569b705ee687cc013e87740c1b4f114324c47
parent70727ff278ef1170158f110e6c5110a180aa1f89 (diff)
php-pecl-amqp: 1.0.10
-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 13d96b9..bc5b3f6 100644
--- a/php-pecl-amqp.spec
+++ b/php-pecl-amqp.spec
@@ -3,8 +3,8 @@
Summary: Communicate with any AMQP compliant server
Name: php-pecl-amqp
-Version: 1.0.9
-Release: 3%{?dist}.3
+Version: 1.0.10
+Release: 1%{?dist}.1
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/amqp
@@ -54,7 +54,7 @@ from any queue.
cd %{pecl_name}-%{version}
# Upstream often forget to change this
-extver=$(sed -n '/"Version"/{s/.*"1/1/;s/".*$//;p}' amqp.c)
+extver=$(sed -n '/#define PHP_AMQP_VERSION/{s/.* "//;s/".*$//;p}' php_amqp.h)
if test "x${extver}" != "x%{version}"; then
: Error: Upstream version is ${extver}, expecting %{version}.
exit 1
@@ -162,6 +162,9 @@ fi
%changelog
+* Fri Apr 19 2013 Remi Collet <remi@fedoraproject.org> - 1.0.10-1
+- Update to 1.0.10
+
* Wed Mar 13 2013 Remi Collet <remi@fedoraproject.org> - 1.0.9-3
- rebuild for new librabbitmq