[packages/grpc] - added system-openssl patch (fixes python build with system openssl on x86_64); release 2

qboosh qboosh at pld-linux.org
Sun Sep 27 12:08:01 CEST 2020


commit c3c2ad9f3ab97e255b5a5d9f1eccb080e8d03a25
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 27 12:10:57 2020 +0200

    - added system-openssl patch (fixes python build with system openssl on x86_64); release 2

 grpc-system-openssl.patch | 13 +++++++++++++
 grpc.spec                 |  4 +++-
 2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/grpc.spec b/grpc.spec
index dbe1bcc..2d4baf2 100644
--- a/grpc.spec
+++ b/grpc.spec
@@ -11,7 +11,7 @@ Summary:	RPC library and framework
 Summary(pl.UTF-8):	Biblioteka i szkielet RPC
 Name:		grpc
 Version:	1.32.0
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Libraries
 #Source0Download: https://github.com/grpc/grpc/releases
@@ -22,6 +22,7 @@ Patch1:		%{name}-sphinx.patch
 Patch2:		%{name}-x32.patch
 Patch3:		%{name}-libdir.patch
 Patch4:		%{name}-system-re2.patch
+Patch5:		%{name}-system-openssl.patch
 URL:		https://grpc.io/
 BuildRequires:	abseil-cpp-devel
 BuildRequires:	c-ares-devel >= 1.13.0
@@ -144,6 +145,7 @@ Dokumentacja API biblioteki Pythona gRPC.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 install -d build
diff --git a/grpc-system-openssl.patch b/grpc-system-openssl.patch
new file mode 100644
index 0000000..994e5da
--- /dev/null
+++ b/grpc-system-openssl.patch
@@ -0,0 +1,13 @@
+GRPC_BUILD_WITH_BORING_SSL_ASM=0 evaluates to True either, so use False as default.
+
+--- grpc-1.32.0/setup.py.orig	2020-09-27 11:25:35.950847530 +0200
++++ grpc-1.32.0/setup.py	2020-09-27 11:42:59.758936675 +0200
+@@ -106,7 +106,7 @@
+ ]
+ 
+ BUILD_WITH_BORING_SSL_ASM = os.environ.get('GRPC_BUILD_WITH_BORING_SSL_ASM',
+-                                           True)
++                                           False)
+ 
+ # Environment variable to determine whether or not the Cython extension should
+ # *use* Cython or use the generated C files. Note that this requires the C files
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grpc.git/commitdiff/c3c2ad9f3ab97e255b5a5d9f1eccb080e8d03a25



More information about the pld-cvs-commit mailing list