osc copypac from project:devel:tools package:grpc revision:136

OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=138
This commit is contained in:
Jan Engelhardt 2023-04-21 10:23:42 +00:00 committed by Git OBS Bridge
parent c9dc685bd2
commit 552ec504bd
2 changed files with 0 additions and 9 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Thu Apr 20 18:31:55 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- grpc++.pc: force-add -lgrpc [boo#1210695]
-------------------------------------------------------------------
Fri Apr 14 11:07:33 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -166,10 +166,6 @@ rm -fr third_party/abseil-cpp/*
mkdir -p "%buildroot/%src_install_dir"
cp -r * "%buildroot/%src_install_dir"
# bugzilla.suse.com/1210695
# grpc++ headers' inline functions can use functions from the C library, so must be present in .pc
perl -i -lpe 's{-lgrpc\+\+}{-lgrpc++ -lgrpc}' "%buildroot/%_libdir/pkgconfig/grpc++.pc"
%fdupes %buildroot/%_prefix
# Checks cannot be run because of `make clean` above