summaryrefslogtreecommitdiffstats
path: root/librabbitmq.spec
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 /librabbitmq.spec
parentd99dc1b2549f35eaef5575b895415cc061d1384e (diff)
librabbitmq: 0.5.1
Diffstat (limited to 'librabbitmq.spec')
-rw-r--r--librabbitmq.spec18
1 files changed, 10 insertions, 8 deletions
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)