Ignore binary-or-shlib-calls-gethostbyname rpmlint check.

This is know issue and part of deprecated API.
This commit is contained in:
Vít Ondruch 2022-01-06 17:20:57 +01:00
commit 277181e32d

View file

@ -26,6 +26,11 @@ addFilter(r'^.*: E: non-executable-script /usr/share/gems/gems/(debug|net-(ftp|i
# Ruby provides API to set the cipher list.
addFilter(r'^ruby-libs\.\w+: W: crypto-policy-non-compliance-openssl /usr/lib(64)?/ruby/openssl.so SSL_CTX_set_cipher_list$')
# `gethostbyname` is part of deprecated Ruby API. There is also request to drop the API altogether:
# https://bugs.ruby-lang.org/issues/13097
# https://bugs.ruby-lang.org/issues/17944
addFilter(r'^ruby-libs\.\w+: W: binary-or-shlib-calls-gethostbyname /usr/lib(64)?/ruby/socket.so$')
# Nothing referred and no dependency information should be no problem.
# https://bugs.ruby-lang.org/issues/16558#note-2
addFilter(r'^ruby-libs\.\w+: E: shared-library-without-dependency-information /usr/lib(64)?/ruby/enc/gb2312.so$')