summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-13 09:51:51 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-13 09:51:51 +0200
commit64a839aefd8752c4bf8c8b23f7a83a82004d0d62 (patch)
tree65d113c428d5ca68a581ab02aa8fea27d8fc8e26
parentd99dc1b2549f35eaef5575b895415cc061d1384e (diff)
librabbitmq: 0.5.1
-rw-r--r--librabbitmq-ver.patch27
-rw-r--r--librabbitmq.spec18
2 files changed, 10 insertions, 35 deletions
diff --git a/librabbitmq-ver.patch b/librabbitmq-ver.patch
deleted file mode 100644
index 45a5039..0000000
--- a/librabbitmq-ver.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From b7c3f97acf25cd0e8644be46f0a9a5f7ece2e33d Mon Sep 17 00:00:00 2001
-From: Alan Antonuk <alan.antonuk@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 b9d8979..7606014 100644
--- a/librabbitmq.spec
+++ b/librabbitmq.spec
@@ -9,7 +9,7 @@
Name: librabbitmq
Summary: Client library for AMQP
-Version: 0.5.0
+Version: 0.5.1
Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
@@ -17,9 +17,6 @@ URL: https://github.com/alanxz/rabbitmq-c
Source0: https://github.com/alanxz/rabbitmq-c/releases/download/v%{version}/rabbitmq-c-%{version}.tar.gz
-# for revert, switch from 0.5.0 to 0.5.1-pre
-Patch0: %{name}-ver.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool
BuildRequires: openssl-devel
@@ -67,8 +64,6 @@ amqp-publish Publish a message on an AMQP server
%prep
%setup -q -n rabbitmq-c-%{version}
-%patch0 -p1 -R
-
# Copy sources to be included in -devel docs.
cp -pr examples Examples
@@ -118,12 +113,14 @@ rm -rf %{buildroot}
%files
%defattr (-,root,root,-)
-%doc AUTHORS README.md THANKS TODO LICENSE-MIT
+%{!?_licensedir:%global license %%doc}
+%license LICENSE-MIT
%{_libdir}/%{name}.so.1*
%files devel
%defattr (-,root,root,-)
+%doc AUTHORS THANKS TODO *.md
%doc Examples
%{_libdir}/%{name}.so
%{_includedir}/amqp*
@@ -133,10 +130,15 @@ rm -rf %{buildroot}
%defattr (-,root,root,-)
%{_bindir}/amqp-*
%doc %{_mandir}/man1/amqp-*.1*
-%doc %{_mandir}/man7/librabbitmq-tools.7.gz
+%doc %{_mandir}/man7/librabbitmq-tools.7*
%changelog
+* Wed Aug 13 2014 Remi Collet <remi@fedoraproject.org> - 0.5.1-1
+- update to 0.5.1
+- fix license handling
+- move all documentation in devel subpackage
+
* Mon Feb 17 2014 Remi Collet <remi@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)