Hello community, here is the log from the commit of package grpc for openSUSE:Factory checked in at 2019-08-23 11:09:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grpc (Old) and /work/SRC/openSUSE:Factory/.grpc.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grpc" Fri Aug 23 11:09:11 2019 rev:16 rq:725393 version:1.23 Changes: -------- --- /work/SRC/openSUSE:Factory/grpc/grpc.changes 2019-06-14 20:24:54.242791114 +0200 +++ /work/SRC/openSUSE:Factory/.grpc.new.7948/grpc.changes 2019-08-23 11:09:21.658461223 +0200 @@ -1,0 +2,16 @@ +Thu Aug 22 18:28:15 UTC 2019 - Jan Engelhardt <[email protected]> + +- Disable LTO because it's broken. + +------------------------------------------------------------------- +Sun Aug 18 16:29:43 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 1.23 [boo#1144068] + * Fixed a bug where POST_RECV_MESSAGE was not being triggered. + * Renamed root certificate bundle in gRPC-C++ pod. + * Increased lower bound on DNS re-resolution period to 30 seconds. + * Fixed a segfault when forking while using gevent. + * Added channel idleness support + * Added threadpool support + +------------------------------------------------------------------- Old: ---- v1.21.3.tar.gz New: ---- v1.23.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grpc.spec ++++++ --- /var/tmp/diff_new_pack.t4GzW8/_old 2019-08-23 11:09:23.358461013 +0200 +++ /var/tmp/diff_new_pack.t4GzW8/_new 2019-08-23 11:09:23.358461013 +0200 @@ -17,16 +17,16 @@ %define lname libgrpc6 -%define src_install_dir /usr/src/%{name} +%define src_install_dir /usr/src/%name %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: grpc -Version: 1.21.3 +Version: 1.23 Release: 0 -%define rver 1.21.3 +%define rver 1.23.0 Summary: HTTP/2-based Remote Procedure Call implementation License: Apache-2.0 Group: Development/Tools/Building -Url: http://grpc.io/ +URL: https://grpc.io/ Source: https://github.com/grpc/grpc/archive/v%rver.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} @@ -35,11 +35,11 @@ BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: python-rpm-macros +BuildRequires: zypper BuildRequires: pkgconfig(libcares) BuildRequires: pkgconfig(openssl) >= 1.0.1 BuildRequires: pkgconfig(protobuf) >= 3.8.0 BuildRequires: pkgconfig(zlib) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The reference implementation of the gRPC protocol, done on top of @@ -94,15 +94,19 @@ %setup -qn grpc-%rver %build -make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 \ - CFLAGS="%optflags -Wno-error" CXXFLAGS="%optflags -Wno-error" +%define _lto_cflags %nil +# protoc is invoked strangely; make it happy with this dir or it will assert() +mkdir -p third_party/protobuf/src + +export CFLAGS="%optflags -Wno-error" +export CXXFLAGS="$CFLAGS" +make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 # build python module 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" %python_build %install @@ -123,13 +127,15 @@ %python_install # Install sources -mkdir -p %{buildroot}%{src_install_dir} -tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir} +mkdir -p "%buildroot/%src_install_dir" +tar -xzf %SOURCE0 --strip-components=1 -C "%buildroot/%src_install_dir" # Fix env-script-interpreter rpmlint error -find %{buildroot}%{src_install_dir} -type f -exec sed -i 's|#!/usr/bin/env bash|#!/bin/bash|' "{}" + -find %{buildroot}%{src_install_dir} -type f -exec sed -i 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|' "{}" + -find %{buildroot}%{src_install_dir} -type f \( -name "*.bzl" -o -name "*.py" \) -exec sed -i 's|#!/usr/bin/env python2.7|#!/usr/bin/python2.7|' "{}" + -find %{buildroot}%{src_install_dir} -type f \( -name "*.bzl" -o -name "*.py" \) -exec sed -i 's|#!/usr/bin/env python|#!/usr/bin/python|' "{}" + +find "%buildroot/%src_install_dir" -type f \ + -exec sed -i 's|#!%_bindir/env bash|#!/bin/bash|' "{}" + \ + -exec sed -i 's|#!%_bindir/env ruby|#!%_bindir/ruby|' "{}" + +find "%buildroot/%src_install_dir" -type f "(" -name "*.bzl" -o -name "*.py" ")" \ + -exec sed -i 's|#!%_bindir/env python2.7|#!%_bindir/python2.7|' "{}" + \ + -exec sed -i 's|#!%_bindir/env python|#!%_bindir/python|' "{}" + %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig @@ -149,7 +155,7 @@ %_libdir/*.so %files source -%{src_install_dir} +%src_install_dir %files -n python2-grpcio %python2_sitearch/grpc* ++++++ v1.21.3.tar.gz -> v1.23.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/grpc/v1.21.3.tar.gz /work/SRC/openSUSE:Factory/.grpc.new.7948/v1.23.0.tar.gz differ: char 13, line 1
