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

* Update to version 1.59.0.
* Drop fix_grpconfig_cmake.patch: incorporated upstream.
* rpmlintrc: Drop unused filter for pem-certificate.

OBS-URL: https://build.opensuse.org/request/show/1114573
OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=161
This commit is contained in:
Jan Engelhardt 2023-10-04 15:20:58 +00:00 committed by Git OBS Bridge
parent 7b722f42e4
commit 46c7c38a58
6 changed files with 26 additions and 45 deletions

View File

@ -1,37 +0,0 @@
From 5c9e4050c1e8c66b1b8b4e93d48b8e23ff1ea818 Mon Sep 17 00:00:00 2001
From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Date: Wed, 6 Sep 2023 03:35:47 +0800
Subject: [PATCH] [Build] fix `gRPCConfig.cmake` (#33361)
Without this change, calling `find_package(gRPC REQUIRED)` errors out
with
CMake Error at /opt/homebrew/lib/cmake/grpc/gRPCConfig.cmake:8
(find_dependency):
Unknown CMake command "find_dependency".
The issue is that `find_dependency` is provided by the
`CMakeFindDependencyMacro` module[^1], so we need to `include` it before
use.
[^1]:
https://cmake.org/cmake/help/v3.26/module/CMakeFindDependencyMacro.html
---
cmake/protobuf.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/protobuf.cmake b/cmake/protobuf.cmake
index 80181c6218..fab2eb00e9 100644
--- a/cmake/protobuf.cmake
+++ b/cmake/protobuf.cmake
@@ -86,6 +86,6 @@ elseif(gRPC_PROTOBUF_PROVIDER STREQUAL "package")
set(_gRPC_PROTOBUF_PROTOC_EXECUTABLE ${PROTOBUF_PROTOC_EXECUTABLE})
endif()
endif()
- set(_gRPC_FIND_PROTOBUF "find_dependency(Protobuf CONFIG)")
+ set(_gRPC_FIND_PROTOBUF "include(CMakeFindDependencyMacro)\nfind_dependency(Protobuf CONFIG)")
endif()
endif()
--
2.42.0

View File

@ -3,7 +3,6 @@ addFilter("grpc-source.* env-script-interpreter")
addFilter("grpc-source.* files-duplicate")
addFilter("grpc-source.* hidden-file-or-dir")
addFilter("grpc-source.* non-executable-script")
addFilter("grpc-source.* pem-certificate")
addFilter("grpc-source.* script-without-shebang")
addFilter("grpc-source.* filelist-forbidden-fhs23")
addFilter("grpc-source.* version-control-internal-file")

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sat Sep 30 22:13:53 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.59.0:
* xds ssa: Remove environment variable protection for stateful
affinity (gh#grpc/grpc#34435).
* c-ares: fix spin loop bug when c-ares gives up on a socket
that still has data left in its read buffer
(gh#grpc/grpc#34185).
* Deps: Adding upb as a submodule (gh#grpc/grpc#34199).
* EventEngine: Update Cancel contract on closure deletion
timeline (gh#grpc/grpc#34167).
* csharp codegen: Handle empty base_namespace option value to
fix gh#grpc/grpc#34113 (gh#grpc/grpc#34137).
* Ruby:
- replace strdup with gpr_strdup (gh#grpc/grpc#34177).
- drop ruby 2.6 support (gh#grpc/grpc#34198).
- Drop fix_grpconfig_cmake.patch: incorporated upstream.
- rpmlintrc: Drop unused filter for pem-certificate.
-------------------------------------------------------------------
Thu Sep 14 13:06:18 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -16,11 +16,11 @@
#
%define lver 35
%define lverp 1_58
%define lver 36
%define lverp 1_59
%define src_install_dir /usr/src/%name
Name: grpc
Version: 1.58.1
Version: 1.59.0
Release: 0
Summary: HTTP/2-based Remote Procedure Call implementation
License: Apache-2.0
@ -39,7 +39,6 @@ BuildRequires: pkgconfig(openssl) >= 1.0.1
BuildRequires: pkgconfig(protobuf) >= 22
BuildRequires: pkgconfig(re2)
BuildRequires: pkgconfig(zlib)
Patch0: fix_grpconfig_cmake.patch
%description
The reference implementation of the gRPC protocol, done on top of

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:860bf758a1437a03318bf09db8e87cb8149a2f578954110ce8549e147f868b62
size 17423263

3
v1.59.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:585e219faaaa1ef82392d27f7ff41982c0dbf72a19abd0070eddd3df927c48f5
size 17564514