From 277181e32df2d404159eac9d44c66f41cc36f764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Thu, 6 Jan 2022 17:20:57 +0100 Subject: [PATCH] Ignore `binary-or-shlib-calls-gethostbyname` rpmlint check. This is know issue and part of deprecated API. --- ruby.rpmlintrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ruby.rpmlintrc b/ruby.rpmlintrc index e3f06e0..ae14e7f 100644 --- a/ruby.rpmlintrc +++ b/ruby.rpmlintrc @@ -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$')