[librabbitmq] - update to 0.5.0 - open https://github.com/alanxz/rabbitmq-c/issues/169 (version is 0.5.1-pre) - op

Remi Collet remi at fedoraproject.org
Mon Feb 17 14:59:31 UTC 2014


commit 2be768594defaf98879cc6255bbd61f34b16d5a4
Author: Remi Collet <remi at fedoraproject.org>
Date:   Mon Feb 17 16:00:10 2014 +0100

    - update to 0.5.0
    - open https://github.com/alanxz/rabbitmq-c/issues/169 (version is 0.5.1-pre)
    - open https://github.com/alanxz/rabbitmq-c/issues/170 (amqp_get_server_properties)

 .gitignore            |    3 ++-
 librabbitmq-pc.patch  |   39 ---------------------------------------
 librabbitmq-ver.patch |   27 +++++++++++++++++++++++++++
 librabbitmq.spec      |   15 +++++++++++----
 sources               |    2 +-
 5 files changed, 41 insertions(+), 45 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 478f8eb..906f798 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,8 @@
-*spec~
+clog
 /6fb87d6eb01b.tar.bz2
 /fb6fca832fd2.tar.bz2
 /alanxz-rabbitmq-c-0.2-69-g2059570.tar.gz
 /db13342f2443.tar.bz2
 /rabbitmq-c-v0.3.0.tar.gz
 /rabbitmq-c-0.4.1.tar.gz
+/rabbitmq-c-0.5.0.tar.gz
diff --git a/librabbitmq-ver.patch b/librabbitmq-ver.patch
new file mode 100644
index 0000000..45a5039
--- /dev/null
+++ b/librabbitmq-ver.patch
@@ -0,0 +1,27 @@
+From b7c3f97acf25cd0e8644be46f0a9a5f7ece2e33d Mon Sep 17 00:00:00 2001
+From: Alan Antonuk <alan.antonuk at gmail.com>
+Date: Wed, 29 Jan 2014 22:21:31 -0800
+Subject: [PATCH] Bumping version for development
+
+---
+ librabbitmq/amqp.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h
+index 7f4226c..fd13087 100644
+--- a/librabbitmq/amqp.h
++++ b/librabbitmq/amqp.h
+@@ -223,8 +223,8 @@
+ 
+ #define AMQP_VERSION_MAJOR 0
+ #define AMQP_VERSION_MINOR 5
+-#define AMQP_VERSION_PATCH 0
+-#define AMQP_VERSION_IS_RELEASE 1
++#define AMQP_VERSION_PATCH 1
++#define AMQP_VERSION_IS_RELEASE 0
+ 
+ 
+ /**
+-- 
+1.8.5.1
+
diff --git a/librabbitmq.spec b/librabbitmq.spec
index a097fef..f7248e2 100644
--- a/librabbitmq.spec
+++ b/librabbitmq.spec
@@ -9,14 +9,16 @@
 
 Name:      librabbitmq
 Summary:   Client library for AMQP
-Version:   0.4.1
-Release:   4%{?dist}
+Version:   0.5.0
+Release:   1%{?dist}
 License:   MIT
 Group:     System Environment/Libraries
 URL:       https://github.com/alanxz/rabbitmq-c
 
 Source0:   https://github.com/alanxz/rabbitmq-c/releases/download/v%{version}/rabbitmq-c-%{version}.tar.gz
-Patch0:    %{name}-pc.patch
+
+# for revert, switch from 0.5.0 to 0.5.1-pre
+Patch0:    %{name}-ver.patch
 
 BuildRequires: libtool
 BuildRequires: openssl-devel
@@ -60,7 +62,7 @@ amqp-publish        Publish a message on an AMQP server
 %prep
 %setup -q -n rabbitmq-c-%{version}
 
-%patch0 -p1
+%patch0 -p1 -R
 
 # Copy sources to be included in -devel docs.
 cp -pr examples Examples
@@ -118,6 +120,11 @@ make check
 
 
 %changelog
+* Mon Feb 17 2014 Remi Collet <remi at fedoraproject.org> - 0.5.0-1
+- update to 0.5.0
+- open https://github.com/alanxz/rabbitmq-c/issues/169 (version is 0.5.1-pre)
+- open https://github.com/alanxz/rabbitmq-c/issues/170 (amqp_get_server_properties)
+
 * Mon Jan 13 2014 Remi Collet <remi at fedoraproject.org> - 0.4.1-4
 - drop BR python-simplejson
 
diff --git a/sources b/sources
index 0ad9a1a..ae1bc18 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8b4252f38bf197f242b31e3849479d81  rabbitmq-c-0.4.1.tar.gz
+b1f902c658c772cda464754678d8deb6  rabbitmq-c-0.5.0.tar.gz


More information about the scm-commits mailing list