upgrade grpc to 1.54.2

This commit is contained in:
sherlock2010 2023-08-03 08:10:07 +00:00
parent 5917352660
commit 457b510ca8
3 changed files with 14 additions and 6 deletions

View File

@ -1,10 +1,10 @@
%global c_so_version 28 %global c_so_version 31
%global cpp_so_version 1.50 %global cpp_so_version 1.54
%global cpp_std 17 %global cpp_std 17
Name: grpc Name: grpc
Version: 1.50.1 Version: 1.54.2
Release: 2 Release: 1
Summary: A modern, open source high performance RPC framework that can run in any environment Summary: A modern, open source high performance RPC framework that can run in any environment
License: ASL 2.0 License: ASL 2.0
URL: https://www.grpc.io URL: https://www.grpc.io
@ -129,6 +129,7 @@ cd ../..
%{_libdir}/libgrpc++_unsecure.so.%{cpp_so_version}* %{_libdir}/libgrpc++_unsecure.so.%{cpp_so_version}*
%{_libdir}/libgrpc_plugin_support.so.%{cpp_so_version}* %{_libdir}/libgrpc_plugin_support.so.%{cpp_so_version}*
%{_libdir}/libgrpcpp_channelz.so.%{cpp_so_version}* %{_libdir}/libgrpcpp_channelz.so.%{cpp_so_version}*
%{_libdir}/libgrpc_authorization_provider.so.%{cpp_so_version}*
%files plugins %files plugins
%{_bindir}/grpc_*_plugin %{_bindir}/grpc_*_plugin
@ -147,6 +148,12 @@ cd ../..
%{python3_sitearch}/grpcio-%{version}-py* %{python3_sitearch}/grpcio-%{version}-py*
%changelog %changelog
* Thu Aug 03 2023 zhouyihang <zhouyihang3@h-partners.com> - 1.54.2-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:upgrade grpc to 1.54.2
* Fri Jul 28 2023 eaglegai <eaglegai@163.com> - 1.50.1-2 * Fri Jul 28 2023 eaglegai <eaglegai@163.com> - 1.50.1-2
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA

View File

@ -6,8 +6,9 @@ diff -urN grpc/cmake/pkg-config-template.pc.in grpc_new/cmake/pkg-config-templat
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@ prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix} exec_prefix=${prefix}
includedir=${prefix}/include -includedir=${prefix}/@gRPC_INSTALL_INCLUDEDIR@
-libdir=${exec_prefix}/lib +includedir=${prefix}/include
-libdir=${exec_prefix}/@gRPC_INSTALL_LIBDIR@
+libdir=${exec_prefix}/lib64 +libdir=${exec_prefix}/lib64
Name: @PC_NAME@ Name: @PC_NAME@