6e5764e
# use like this:
6e5764e
# rpmlint --file python-eccodes.rpmlintrc *.rpm
6e5764e
# example: addFilter ("^foo-.*regex-match-for-rpmlint-warning")
6e5764e
6e5764e
# NOTE: as stated in the review request by the reviewer
6e5764e
# " do not remove objects.inv.  That file is used by sphinx to create
6e5764e
#   cross-links between documentation for different modules. 
6e5764e
#   If some other python module someday wants to refer to the 
6e5764e
#   eccodes documentation, it will need objects.inv to do so."
6e5764e
# So add 2 filters to prevent rpmlint from complaining about this file.
6e5764e
6e5764e
addFilter ("python3-eccodes.*: W: wrong-file-end-of-line-encoding /usr/share/doc/python3-eccodes/html/objects.inv")
6e5764e
addFilter ("python3-eccodes.*: W: file-not-utf8 /usr/share/doc/python3-eccodes/html/objects.inv")