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

* Update to version 1.34.0.
* Pass ZLIB_LIBRARY location to cmake as it fails to find zlib using find_package() after the zlib libraries were moved to %{_libdir} in openSUSE:Factory (sr#851291).
* Update so version in keeping with upstream.
* Leave a comment on why tests cannot be run (because of `make clean` required to pkg sources).

OBS-URL: https://build.opensuse.org/request/show/853409
OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=78
This commit is contained in:
Jan Engelhardt 2020-12-06 19:23:27 +00:00 committed by Git OBS Bridge
parent 5e92658589
commit 23d2098247
6 changed files with 49 additions and 10 deletions

3
googletest-1.10.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb
size 904349

View File

@ -1,8 +1,8 @@
Index: grpc-1.33.1/CMakeLists.txt
Index: grpc-1.34.0/CMakeLists.txt
===================================================================
--- grpc-1.33.1.orig/CMakeLists.txt
+++ grpc-1.33.1/CMakeLists.txt
@@ -15805,7 +15805,7 @@ function(generate_pkgconfig name descrip
--- grpc-1.34.0.orig/CMakeLists.txt
+++ grpc-1.34.0/CMakeLists.txt
@@ -16203,7 +16203,7 @@ function(generate_pkgconfig name descrip
"${output_filepath}"
@ONLY)
install(FILES "${output_filepath}"

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sun Dec 6 13:01:52 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.34.0:
* Core:
- Protect xds security code with the environment variable
"GRPC_XDS_EXPERIMENTAL_SECURITY_SUPPORT"
(gh#grpc/grpc#24782).
- Add support for "unix-abstract:" URIs to support abstract
unix domain sockets (gh#grpc/grpc#24500).
- Increment Index when parsing not plumbed SAN fields
(gh#grpc/grpc#24601).
- Revert "Revert "Deprecate
GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS""
(gh#grpc/grpc#24518).
- xds: Set status code to INVALID_ARGUMENT when NACKing
(gh#grpc/grpc#24516).
- Include stddef.h in address_sorting.h (gh#grpc/grpc#24514).
- xds: Add support for case_sensitive option in RouteMatch
(gh#grpc/grpc#24381).
* C++:
- Fix --define=grpc_no_xds=true builds (gh#grpc/grpc#24503).
- Experimental support and tests for
CreateCustomInsecureChannelWithInterceptorsFromFd
(gh#grpc/grpc#24362).
- Pass ZLIB_LIBRARY location to cmake as it fails to find zlib
using find_package() after the zlib libraries were moved to
%{_libdir} in openSUSE:Factory (sr#851291).
- Update so version in keeping with upstream.
- Leave a comment on why tests cannot be run (because of
`make clean` required to pkg sources).
-------------------------------------------------------------------
Wed Nov 11 13:26:47 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,12 +16,12 @@
#
%define lver 13
%define lver 14
%define lverp 1
%define lverplugin 1
%define src_install_dir /usr/src/%name
Name: grpc
Version: 1.33.2
Version: 1.34.0
Release: 0
Summary: HTTP/2-based Remote Procedure Call implementation
License: Apache-2.0
@ -141,11 +141,12 @@ export CXXFLAGS="$CFLAGS"
%cmake -DgRPC_INSTALL=ON \
-DgRPC_INSTALL_LIBDIR:PATH="%_lib" \
-DgRPC_INSTALL_CMAKEDIR:PATH="%_libdir/cmake/grpc" \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DZLIB_LIBRARY=%{_libdir}/libz.so \
-DgRPC_ZLIB_PROVIDER=package
%cmake_build
@ -173,6 +174,9 @@ cp -r * "%buildroot/%src_install_dir"
%fdupes %buildroot/%_prefix
# Checks cannot be run because of `make clean` above
#%%check
%post -n libgrpc%lver -p /sbin/ldconfig
%postun -n libgrpc%lver -p /sbin/ldconfig
%post -n libgrpc++%lverp -p /sbin/ldconfig

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2060769f2d4b0d3535ba594b2ab614d7f68a492f786ab94b4318788d45e3278a
size 7270924

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7372a881122cd85a7224435a1d58bc5e11c88d4fb98a64b83f36f3d1c2f16d39
size 7723327