From 64a839aefd8752c4bf8c8b23f7a83a82004d0d62 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Aug 2014 09:51:51 +0200 Subject: librabbitmq: 0.5.1 --- librabbitmq.spec | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'librabbitmq.spec') 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 - 0.5.1-1 +- update to 0.5.1 +- fix license handling +- move all documentation in devel subpackage + * Mon Feb 17 2014 Remi Collet - 0.5.0-1 - update to 0.5.0 - open https://github.com/alanxz/rabbitmq-c/issues/169 (version is 0.5.1-pre) -- cgit