update to 0.4.1

This commit is contained in:
Remi Collet 2013-09-28 09:33:11 +02:00
parent 8156fb7afc
commit c35a5244a3
3 changed files with 30 additions and 6 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/alanxz-rabbitmq-c-0.2-69-g2059570.tar.gz /alanxz-rabbitmq-c-0.2-69-g2059570.tar.gz
/db13342f2443.tar.bz2 /db13342f2443.tar.bz2
/rabbitmq-c-v0.3.0.tar.gz /rabbitmq-c-v0.3.0.tar.gz
/rabbitmq-c-0.4.1.tar.gz

View File

@ -1,15 +1,25 @@
# spec file for librabbitmq
#
# Copyright (c) 2012-2013 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/3.0/
#
# Please, preserve the changelog entries
#
Name: librabbitmq Name: librabbitmq
Summary: Client library for AMQP Summary: Client library for AMQP
Version: 0.3.0 Version: 0.4.1
Release: 3%{?dist} Release: 1%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: https://github.com/alanxz/rabbitmq-c URL: https://github.com/alanxz/rabbitmq-c
Source0: https://github.com/alanxz/rabbitmq-c/archive/rabbitmq-c-v%{version}.tar.gz Source0: https://github.com/alanxz/rabbitmq-c/archive/rabbitmq-c-%{version}.tar.gz
BuildRequires: libtool BuildRequires: libtool
BuildRequires: python-simplejson BuildRequires: python-simplejson
BuildRequires: openssl-devel
# For tools # For tools
BuildRequires: popt-devel BuildRequires: popt-devel
# For man page # For man page
@ -48,7 +58,7 @@ amqp-publish Publish a message on an AMQP server
%prep %prep
%setup -q -n rabbitmq-c-rabbitmq-c-v%{version} %setup -q -n rabbitmq-c-%{version}
# Copy sources to be included in -devel docs. # Copy sources to be included in -devel docs.
cp -pr examples Examples cp -pr examples Examples
@ -56,7 +66,15 @@ cp -pr examples Examples
%build %build
autoreconf -i autoreconf -i
%configure --enable-tools --enable-docs %configure \
--enable-tools \
--enable-docs \
--with-ssl=openssl
# rpath removal
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{_smp_mflags} make %{_smp_mflags}
@ -67,6 +85,7 @@ rm %{buildroot}%{_libdir}/%{name}.la
%check %check
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
make check make check
@ -93,6 +112,10 @@ make check
%changelog %changelog
* Sat Sep 28 2013 Remi Collet <remi@fedoraproject.org> - 0.4.1-1
- update to 0.4.1
- add ssl support
* Thu Aug 1 2013 Remi Collet <remi@fedoraproject.org> - 0.3.0-3 * Thu Aug 1 2013 Remi Collet <remi@fedoraproject.org> - 0.3.0-3
- cleanups - cleanups

View File

@ -1 +1 @@
a7f0fbf59bf29843ad4125b1a784a520 rabbitmq-c-v0.3.0.tar.gz 8b4252f38bf197f242b31e3849479d81 rabbitmq-c-0.4.1.tar.gz