[php-pecl-amqp/f17] update to 1.0.5

Remi Collet remi at fedoraproject.org
Mon Aug 27 15:54:34 UTC 2012


commit eeeff7d495ff33661321bea37bba1b736463ae00
Author: remi <fedora at famillecollet.com>
Date:   Mon Aug 27 17:34:40 2012 +0200

    update to 1.0.5

 .gitignore         |    1 +
 php-pecl-amqp.spec |   12 +++++++++---
 sources            |    2 +-
 3 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f554d66..8297876 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ package-*.xml
 /amqp-1.0.1.tgz
 /amqp-1.0.3.tgz
 /amqp-1.0.4.tgz
+/amqp-1.0.5.tgz
diff --git a/php-pecl-amqp.spec b/php-pecl-amqp.spec
index b798930..43789ab 100644
--- a/php-pecl-amqp.spec
+++ b/php-pecl-amqp.spec
@@ -4,9 +4,8 @@
 
 Summary:       Communicate with any AMQP compliant server
 Name:          php-pecl-amqp
-Version:       1.0.4
+Version:       1.0.5
 Release:       1%{?dist}
-# https://bugs.php.net/61337 - missing LICENSE file
 License:       PHP
 Group:         Development/Languages
 URL:           http://pecl.php.net/package/amqp
@@ -41,6 +40,9 @@ from any queue.
 %prep
 %setup -q -c
 
+sed -e '/Version/s/1.0.4/%{version}/' \
+    -i %{pecl_name}-%{version}/amqp.c
+
 # Upstream often forget to change this
 extver=$(sed -n '/"Version"/{s/.*"1/1/;s/".*$//;p}' %{pecl_name}-%{version}/amqp.c)
 if test "x${extver}" != "x%{version}"; then
@@ -125,13 +127,17 @@ fi
 
 %files
 %defattr(-,root,root,-)
-%doc %{pecl_name}-%{version}/CREDITS
+%doc %{pecl_name}-%{version}/{CREDITS,LICENSE}
 %config(noreplace) %{_sysconfdir}/php.d/%{pecl_name}.ini
 %{php_extdir}/%{pecl_name}.so
 %{pecl_xmldir}/%{name}.xml
 
 
 %changelog
+* Mon Aug 27 2012 Remi Collet <remi at fedoraproject.org> - 1.0.5-1
+- update to 1.0.5
+- LICENSE now provided in upstream tarball
+
 * Wed Aug 01 2012 Remi Collet <remi at fedoraproject.org> - 1.0.4-1
 - update to 1.0.4
 
diff --git a/sources b/sources
index a97db7d..8f7c3a6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fae073b82b3d4bfd784129d10102d4f6  amqp-1.0.4.tgz
+82cce907d2bdd018a8c4b222fcd6d7d4  amqp-1.0.5.tgz


More information about the scm-commits mailing list