From afe5bb97da76c1f0053e56b53d0b085fc1812d8b Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 11 May 2023 10:16:30 -0400 Subject: [PATCH] Update rpmlintrc rules --- grpc.rpmlintrc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/grpc.rpmlintrc b/grpc.rpmlintrc index 84be906..d7e0364 100644 --- a/grpc.rpmlintrc +++ b/grpc.rpmlintrc @@ -1,12 +1,10 @@ -# These are not real spelling errors... +# These are not real spelling errors… addFilter(r' spelling-error .*[ \(]en_US\)? (microservices|auth|gRPC|' r'channelz|proto(buf)?|unary|rpc|grpcio|csds|localhost|' r'grpc(debug)?|servicers|[Dx]DS|programatically) ') # Maybe some of these are supposed to be CRNL-terminated: addFilter(r' wrong-file-end-of-line-encoding ' r'/usr/share/doc/grpc/examples/csharp/') -# We generally follow upstream package metadata for these: -addFilter(r' description-shorter-than-summary') # Many subpackages do not have their own documentation! addFilter(r' no-documentation') # We believe we have patched all calls to SSL_CTX_set_cipher_list with @@ -24,9 +22,12 @@ addFilter(r' shared-lib-without-dependency-information ' # are intended for program use. addFilter(r' no-manual-page-for-binary grpc_.*_plugin$') # There is really no version information available. -addFilter(r' unversioned-explicit-provides bundled\(upb\)') -# We use rpmautospec, which rpmlint may not yet understand -addFilter(r' Possible unexpanded macro in: .*%autorelease$') -addFilter(r' %changelog entries must start with \*$') -# This really does make sense: -addFilter(r' summary-not-capitalized .*xDS$') +addFilter(r' unversioned-explicit-provides bundled\((upb|utf8_range)\)') +# There is no replacement for these. +addFilter(r' obsolete-not-provided python3-grpcio-(admin|csds)$') +# Every RPM has this… +addFilter(r' strange-permission grpc\.spec 600$') +# This is OK; it just doesn’t link libc +addFilter(r' shared-library-without-dependency-information /.*/libgrpc\+\+_error_details\.so\.') +# It is reasonable for trivial __init__.py files to be duplicates. +addFilter(r' files-duplicate .*__init__\.py')