]> git.pld-linux.org Git - packages/rabbitmq-c.git/commitdiff
- pass relative CMAKE_INSTALL_{INCLUDE,LIB}DIR to fix .pc file; release 2 auto/th/rabbitmq-c-0.10.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Jul 2020 12:57:14 +0000 (14:57 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Jul 2020 12:57:14 +0000 (14:57 +0200)
rabbitmq-c.spec

index ecd9fc8e1903ed52252e798c00965eb28ef202da..3a6ea908c9e2365784d3d56ac8acd5f9b410fea6 100644 (file)
@@ -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}
 
This page took 0.08459 seconds and 4 git commands to generate.