update to 0.4.1
This commit is contained in:
parent
8156fb7afc
commit
c35a5244a3
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
/alanxz-rabbitmq-c-0.2-69-g2059570.tar.gz
|
||||
/db13342f2443.tar.bz2
|
||||
/rabbitmq-c-v0.3.0.tar.gz
|
||||
/rabbitmq-c-0.4.1.tar.gz
|
||||
|
@ -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
|
||||
Summary: Client library for AMQP
|
||||
Version: 0.3.0
|
||||
Release: 3%{?dist}
|
||||
Version: 0.4.1
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
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: python-simplejson
|
||||
BuildRequires: openssl-devel
|
||||
# For tools
|
||||
BuildRequires: popt-devel
|
||||
# For man page
|
||||
@ -48,7 +58,7 @@ amqp-publish Publish a message on an AMQP server
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n rabbitmq-c-rabbitmq-c-v%{version}
|
||||
%setup -q -n rabbitmq-c-%{version}
|
||||
|
||||
# Copy sources to be included in -devel docs.
|
||||
cp -pr examples Examples
|
||||
@ -56,7 +66,15 @@ cp -pr examples Examples
|
||||
|
||||
%build
|
||||
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}
|
||||
|
||||
|
||||
@ -67,6 +85,7 @@ rm %{buildroot}%{_libdir}/%{name}.la
|
||||
|
||||
|
||||
%check
|
||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
||||
make check
|
||||
|
||||
|
||||
@ -93,6 +112,10 @@ make check
|
||||
|
||||
|
||||
%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
|
||||
- cleanups
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user