Really fix broken librabbitmq.pc, #1039555 + add check for usable librabbitmq.pc
This commit is contained in:
parent
16aa3e7c12
commit
3b0b53d1bd
@ -10,7 +10,7 @@
|
|||||||
Name: librabbitmq
|
Name: librabbitmq
|
||||||
Summary: Client library for AMQP
|
Summary: Client library for AMQP
|
||||||
Version: 0.4.1
|
Version: 0.4.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -61,6 +61,8 @@ amqp-publish Publish a message on an AMQP server
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n rabbitmq-c-%{version}
|
%setup -q -n rabbitmq-c-%{version}
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
# Copy sources to be included in -devel docs.
|
# Copy sources to be included in -devel docs.
|
||||||
cp -pr examples Examples
|
cp -pr examples Examples
|
||||||
|
|
||||||
@ -86,6 +88,10 @@ rm %{buildroot}%{_libdir}/%{name}.la
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
: check .pc is usable
|
||||||
|
grep @ %{buildroot}%{_libdir}/pkgconfig/librabbitmq.pc && exit 1
|
||||||
|
|
||||||
|
: upstream tests
|
||||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
||||||
make check
|
make check
|
||||||
|
|
||||||
@ -113,8 +119,11 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jan 2 2014 Remi Collet <remi@fedoraproject.org> - 0.4.1-2
|
* Tue Jan 7 2014 Remi Collet <remi@fedoraproject.org> - 0.4.1-3
|
||||||
- fix broken librabbitmq.pc, #1039555
|
- fix broken librabbitmq.pc, #1039555
|
||||||
|
- add check for usable librabbitmq.pc
|
||||||
|
|
||||||
|
* Thu Jan 2 2014 Remi Collet <remi@fedoraproject.org> - 0.4.1-2
|
||||||
- fix Source0 URL
|
- fix Source0 URL
|
||||||
|
|
||||||
* Sat Sep 28 2013 Remi Collet <remi@fedoraproject.org> - 0.4.1-1
|
* Sat Sep 28 2013 Remi Collet <remi@fedoraproject.org> - 0.4.1-1
|
||||||
|
Loading…
Reference in New Issue
Block a user