[packages/rabbitmq-c] - pass relative CMAKE_INSTALL_{INCLUDE,LIB}DIR to fix .pc file; release 2
qboosh
qboosh at pld-linux.org
Sun Jul 5 14:55:55 CEST 2020
commit 8378ee90f2daa1b72bddced7c61665ba8ca75598
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 5 14:57:14 2020 +0200
- pass relative CMAKE_INSTALL_{INCLUDE,LIB}DIR to fix .pc file; release 2
rabbitmq-c.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/rabbitmq-c.spec b/rabbitmq-c.spec
index ecd9fc8..3a6ea90 100644
--- a/rabbitmq-c.spec
+++ b/rabbitmq-c.spec
@@ -6,7 +6,7 @@ Summary: RabbitMQ C AMQP client library
Summary(pl.UTF-8): Biblioteka kliencka C RabbitMQ AMQP
Name: rabbitmq-c
Version: 0.10.0
-Release: 1
+Release: 2
License: MIT
Group: Libraries
#Source0Download: https://github.com/alanxz/rabbitmq-c/releases
@@ -74,7 +74,9 @@ install -d build
cd build
%cmake .. \
%{!?with_static_libs:-DBUILD_STATIC_LIBS=OFF} \
- -DBUILD_TOOLS_DOCS=ON
+ -DBUILD_TOOLS_DOCS=ON \
+ -DCMAKE_INSTALL_INCLUDEDIR:PATH=include \
+ -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib}
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rabbitmq-c.git/commitdiff/8378ee90f2daa1b72bddced7c61665ba8ca75598
More information about the pld-cvs-commit
mailing list