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
```
This commit is contained in:
Jun Aruga 2021-03-23 16:31:10 +01:00
parent 303495d1bf
commit b65d1d3090
1 changed files with 4 additions and 0 deletions

View File

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