From 96a32e49ecc7277f1f928450ea643161c2a93c2e2c8e957747704179545819e9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 23 Jun 2018 09:33:26 +0000 Subject: [PATCH 1/2] - Throw out silly -Werror in release builds. OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=28 --- grpc.changes | 5 +++++ grpc.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/grpc.changes b/grpc.changes index e3e12d9..26b8005 100644 --- a/grpc.changes +++ b/grpc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 23 09:33:15 UTC 2018 - jengelh@inai.de + +- Throw out silly -Werror in release builds. + ------------------------------------------------------------------- Fri May 25 05:34:36 UTC 2018 - tbechtold@suse.com diff --git a/grpc.spec b/grpc.spec index f2b5e1b..489b2e9 100644 --- a/grpc.spec +++ b/grpc.spec @@ -93,7 +93,8 @@ This subpackage contains the python3 bindings. %patch2 -p1 %build -make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 CFLAGS="%optflags" CXXFLAGS="%optflags" +make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 \ + CFLAGS="%optflags -Wno-error" CXXFLAGS="%optflags -Wno-error" # build python module export GRPC_PYTHON_BUILD_WITH_CYTHON=True From aa494e7261d12a2e18c840e259a2ec1bdb4e387baa8038d7a13c2b5c1b3d675c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 23 Jun 2018 09:34:30 +0000 Subject: [PATCH 2/2] Patch meta is already in the patch file OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=29 --- grpc.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/grpc.spec b/grpc.spec index 489b2e9..3ad5955 100644 --- a/grpc.spec +++ b/grpc.spec @@ -26,11 +26,8 @@ License: Apache-2.0 Group: Development/Tools/Building Url: http://grpc.io/ Source: https://github.com/grpc/grpc/archive/v%version.tar.gz -# # PATCH-FEATURE-UPSTREAM 0001-Allow-building-the-python-module-with-system-openssl.patch -- https://github.com/grpc/grpc/pull/15548 Patch0: 0001-Allow-building-the-python-module-with-system-openssl.patch -# # PATCH-FEATURE-UPSTREAM 0002-Allow-building-the-python-module-with-system-zlib.patch -- https://github.com/grpc/grpc/pull/15548 Patch1: 0002-Allow-building-the-python-module-with-system-zlib.patch -# # PATCH-FEATURE-UPSTREAM 0003-Allow-building-the-python-module-with-system-cares.patch -- https://github.com/grpc/grpc/pull/15548 Patch2: 0003-Allow-building-the-python-module-with-system-cares.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel}