From b65d1d30903186f031760aa2f81002281a82ec58 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Mar 24 2021 13:33:24 +0000 Subject: Ignore the rpmlint "E: use-of-RPM_SOURCE_DIR". Ignore the following errors. ``` ruby.spec:20: E: use-of-RPM_SOURCE_DIR ruby.src:20: E: use-of-RPM_SOURCE_DIR ``` --- diff --git a/ruby.rpmlintrc b/ruby.rpmlintrc index 3fca5a2..151490d 100644 --- a/ruby.rpmlintrc +++ b/ruby.rpmlintrc @@ -1 +1,5 @@ # Keep matching patterns enough not to hide unintended errors and warnings. + +# There is no way to implement this with `%{SOURCE0}` without `%{_sourcedir}`. +# The order in the .spec file could be possibly different. +addFilter(r'^ruby\.(spec|src):20: E: use-of-RPM_SOURCE_DIR$')