From f4d74d58c8d7a50a5fe8f1456cc11346277581b8 Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Jan 07 2022 16:29:03 +0000 Subject: Ignore `W: no-documentation` rpmlint warning for default gems. These does not come with any documentation available in Ruby. --- diff --git a/ruby.rpmlintrc b/ruby.rpmlintrc index 1d5f4a7..5c743b8 100644 --- a/ruby.rpmlintrc +++ b/ruby.rpmlintrc @@ -55,3 +55,6 @@ addFilter(r'^ruby-devel\.\w+: E: no-library-dependency-(for|on ruby-libs) /usr/l # Some executables don't have their manual pages. Is it worth of use help2man? addFilter(r'^.+: W: no-manual-page-for-binary (bundler|gem|rbs|rdbg|rdoc|ruby-mri|typeprof)$') + +# Default gems does not come with any documentation. +addFilter(r'^rubygem-(bigdecimal|io-console|json|psych)\.\w+: W: no-documentation$')