diff --git a/grpc.changes b/grpc.changes index 1853dcd..29b7242 100644 --- a/grpc.changes +++ b/grpc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 20 18:31:55 UTC 2023 - Jan Engelhardt + +- grpc++.pc: force-add -lgrpc [boo#1210695] + ------------------------------------------------------------------- Fri Apr 14 11:07:33 UTC 2023 - Jan Engelhardt diff --git a/grpc.spec b/grpc.spec index bcaccce..5ae8644 100644 --- a/grpc.spec +++ b/grpc.spec @@ -166,6 +166,10 @@ 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