- Update to new upstream release 1.16

OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=33
This commit is contained in:
Jan Engelhardt 2018-11-11 18:03:51 +00:00 committed by Git OBS Bridge
parent b55f8408d7
commit 30721f4efc
4 changed files with 27 additions and 15 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Nov 11 17:57:35 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 1.16
* Keepalive watchdog firing should return status UNAVAILABLE.
* Set TCP_USER_TIMEOUT socket option for Linux.
* Turn loading system root certificate as default.
* Change pick_first to not unref unselected subchannels.
* cmake: prevent C core from depending on libstdc++.
* Implement Watch method in health check service.
-------------------------------------------------------------------
Sun Nov 11 10:57:12 UTC 2018 - Thomas Bechtold <tbechtold@suse.com>

View File

@ -19,13 +19,14 @@
%define lname libgrpc6
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: grpc
Version: 1.15.1
Version: 1.16
Release: 0
%define rver 1.16.0
Summary: HTTP/2-based Remote Procedure Call implementation
License: Apache-2.0
Group: Development/Tools/Building
Url: http://grpc.io/
Source: https://github.com/grpc/grpc/archive/v%version.tar.gz
Source: https://github.com/grpc/grpc/archive/v%rver.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@ -65,8 +66,8 @@ applications that want to make use of the gRPC reference implementation.
%package -n python2-grpcio
Summary: Python language bindings for grpc, a HTTP/2 Remote Procedure Call implementation
Group: Development/Libraries/Python
Requires: %{lname} = %{version}-%{release}
Requires: python = %{python2_version}
Requires: %lname = %version-%release
Requires: python = %python2_version
%description -n python2-grpcio
This subpackage contains the python2 bindings.
@ -74,14 +75,14 @@ This subpackage contains the python2 bindings.
%package -n python3-grpcio
Summary: Python language bindings for grpc, a HTTP/2 Remote Procedure Call implementation
Group: Development/Libraries/Python
Requires: %{lname} = %{version}-%{release}
Requires: python = %{python3_version}
Requires: %lname = %version-%release
Requires: python = %python3_version
%description -n python3-grpcio
This subpackage contains the python3 bindings.
%prep
%setup -q
%setup -qn grpc-%rver
%build
make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 \
@ -92,7 +93,7 @@ export GRPC_PYTHON_BUILD_WITH_CYTHON=True
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=True
export GRPC_PYTHON_BUILD_SYSTEM_CARES=True
export CFLAGS="%{optflags}"
export CFLAGS="%optflags"
%python_build
%install
@ -127,11 +128,11 @@ popd
%_libdir/*.so
%files -n python2-grpcio
%{python2_sitearch}/grpcio-%{version}-py*.egg-info
%{python2_sitearch}/grpc
%python2_sitearch/grpcio-%rver-py*.egg-info
%python2_sitearch/grpc
%files -n python3-grpcio
%{python3_sitearch}/grpcio-%{version}-py*.egg-info
%{python3_sitearch}/grpc
%python3_sitearch/grpcio-%rver-py*.egg-info
%python3_sitearch/grpc
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0186e800fbda420305c3489ddb28394059e1e6fc192a97fc7412d21b7306d82e
size 14084914

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

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