SHA256
1
0
forked from pool/grpc

Accepting request 841058 from home:badshah400:branches:devel:tools

(Fixes for libdir path flagged in sr#838414)
- Specify gRPC_INSTALL_LIBDIR and gRPC_INSTALL_CMAKEDIR to correctly configure install paths for libraries and cmake files instead of moving them after the installation.
- Add grpc-correct-pkgconfig-path.patch to fix install path for pkgconfig file relative to gRPC_INSTALL_LIBDIR.
- Add Requires: pkgconfig(libcares) for the -devel pkg.

OBS-URL: https://build.opensuse.org/request/show/841058
OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=68
This commit is contained in:
2020-10-11 17:32:37 +00:00
committed by Git OBS Bridge
parent 1090425ed4
commit b249206e2f
3 changed files with 34 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
Index: grpc-1.32.0/CMakeLists.txt
===================================================================
--- grpc-1.32.0.orig/CMakeLists.txt
+++ grpc-1.32.0/CMakeLists.txt
@@ -15667,7 +15667,7 @@ function(generate_pkgconfig name descrip
"${output_filepath}"
@ONLY)
install(FILES "${output_filepath}"
- DESTINATION "lib/pkgconfig/")
+ DESTINATION "${gRPC_INSTALL_LIBDIR}/pkgconfig/")
endfunction()
# gpr .pc file