Add rpmlint config file

Filter several expected warnings and error messages from rpmlint.
This commit is contained in:
Todd Zullinger 2018-08-26 03:29:24 -04:00
parent cfed6841db
commit dcd0ebc78e
1 changed files with 13 additions and 0 deletions

13
znc.rpmlintrc Normal file
View File

@ -0,0 +1,13 @@
from Config import *
# Ignore dangling symlinks in .build-id dirs
addFilter("znc\..*: W: dangling-relative-symlink /usr/lib/.build-id/.*")
# No documentation is expected in these packages
addFilter("znc-(devel|modperl|modpython|modtcl)\..*: W: no-documentation")
# /var/lib/znc is expected to be owned by the znc user/group
addFilter("znc\..*: W: non-standard-[gu]id /var/lib/znc znc")
# Some template files are expected to be empty
addFilter("znc\..*: E: zero-length /usr/share/znc/webskins/.*/tmpl/.*\.tmpl")