[librabbitmq/el6] - update to 0.5.1 - fix license handling - move all documentation in devel subpackage

Remi Collet remi at fedoraproject.org
Wed Aug 13 08:23:23 UTC 2014


commit a5acc672654edf0e92d3f7954fb52a0ac8e7d9e6
Author: Remi Collet <remi at fedoraproject.org>
Date:   Wed Aug 13 10:15:29 2014 +0200

    - update to 0.5.1
    - fix license handling
    - move all documentation in devel subpackage
    
    (cherry picked from commit b9030008380065c33d6d486e69693bdc0ea0ed9f)

 .gitignore            |    1 +
 librabbitmq-170.patch |   26 --------------------------
 librabbitmq-ver.patch |   27 ---------------------------
 librabbitmq.spec      |   23 +++++++++++------------
 sources               |    2 +-
 5 files changed, 13 insertions(+), 66 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 906f798..065c049 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ clog
 /rabbitmq-c-v0.3.0.tar.gz
 /rabbitmq-c-0.4.1.tar.gz
 /rabbitmq-c-0.5.0.tar.gz
+/rabbitmq-c-0.5.1.tar.gz
diff --git a/librabbitmq.spec b/librabbitmq.spec
index e5daff9..7918742 100644
--- a/librabbitmq.spec
+++ b/librabbitmq.spec
@@ -9,19 +9,14 @@
 
 Name:      librabbitmq
 Summary:   Client library for AMQP
-Version:   0.5.0
-Release:   2%{?dist}
+Version:   0.5.1
+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
 
-# for revert, switch from 0.5.0 to 0.5.1-pre
-Patch0:    %{name}-ver.patch
-# Missing function
-Patch1:    %{name}-170.patch
-
 BuildRequires: libtool
 BuildRequires: openssl-devel
 # For tools
@@ -64,9 +59,6 @@ amqp-publish        Publish a message on an AMQP server
 %prep
 %setup -q -n rabbitmq-c-%{version}
 
-%patch0 -p1 -R
-%patch1 -p1
-
 # Copy sources to be included in -devel docs.
 cp -pr examples Examples
 
@@ -106,11 +98,13 @@ make check
 
 
 %files
-%doc AUTHORS README.md THANKS TODO LICENSE-MIT
+%{!?_licensedir:%global license %%doc}
+%license LICENSE-MIT
 %{_libdir}/%{name}.so.1*
 
 
 %files devel
+%doc AUTHORS THANKS TODO *.md
 %doc Examples
 %{_libdir}/%{name}.so
 %{_includedir}/amqp*
@@ -119,10 +113,15 @@ make check
 %files tools
 %{_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 at fedoraproject.org> - 0.5.1-1
+- update to 0.5.1
+- fix license handling
+- move all documentation in devel subpackage
+
 * Tue Apr 15 2014 Remi Collet <remi at fedoraproject.org> - 0.5.0-2
 - upstream patch for missing function
 
diff --git a/sources b/sources
index ae1bc18..ce53b35 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b1f902c658c772cda464754678d8deb6  rabbitmq-c-0.5.0.tar.gz
+797e98f81dcd880025bc37c26c93ff8e  rabbitmq-c-0.5.1.tar.gz


More information about the scm-commits mailing list