87469ef514
- General: * Update summaries and descriptions * Update License fields to include licenses from bundled components * Fix failure to respect Fedora build flags * Use the system shared certificate bundle instead of shipping our own - CLI: * No longer set rpath $ORIGIN - C (core) and C++ (cpp): * Add c_so_version/cpp_so_version macros * Split out C++ bindings and shared data into subpackages * Drop obsolete ldconfig_scriptlets macro * Stop stripping debugging symbols - Python: * Use generated BR’s * Build and package Python binding documentation * Disable accommodations for older libc’s * Patch out -std=gnu99 flag, which is inappropriate for C++ * Build additional Python packages grpcio_tools, gprcio_channelz, grpcio_health_checking, grpcio_reflection, grpcio_status, and grpcio_testing
15 lines
734 B
Diff
15 lines
734 B
Diff
Backport upstream commit 9e0b427893b65b220faf8a31a6afdc67f6f41364 “Use != with literals”
|
|
|
|
diff -Naur grpc-1.26.0-original/src/python/grpcio/commands.py grpc-1.26.0/src/python/grpcio/commands.py
|
|
--- grpc-1.26.0-original/src/python/grpcio/commands.py 2019-12-17 20:29:27.000000000 -0500
|
|
+++ grpc-1.26.0/src/python/grpcio/commands.py 2021-01-28 12:51:33.635142522 -0500
|
|
@@ -99,7 +99,7 @@
|
|
target_dir = os.path.join(GRPC_STEM, 'doc', 'build')
|
|
exit_code = sphinx.cmd.build.build_main(
|
|
['-b', 'html', '-W', '--keep-going', source_dir, target_dir])
|
|
- if exit_code is not 0:
|
|
+ if exit_code:
|
|
raise CommandError(
|
|
"Documentation generation has warnings or errors")
|
|
|