Update rpmlintrc rules

This commit is contained in:
Benjamin A. Beasley 2023-05-11 10:16:30 -04:00
parent df065d6782
commit afe5bb97da

View File

@ -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 doesnt 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')