Blob Blame History Raw
# THIS FILE IS FOR WHITELISTING RPMLINT ERRORS AND WARNINGS IN TASKOTRON
# https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#Whitelisting_errors

# The dictionary lacks some technical words
addFilter(r'W: spelling-error .* (azove|buildroot|combinatorics|geomview|gfan|graphviz|gv|integrale|matroids|normaliz|ocaml|okular|polyhedra|polymake|polytopes|qhull|simplicial|tplib|vinci)')

# The plugins do not need and should not have sonames
addFilter(r'W: no-soname .*/polymake/lib/.*\.so')

# The plugins refer to symbols defined in the binary
addFilter(r'W: undefined-non-weak-symbol .*/polymake/lib/.*\.so')

# The plugins do not necessarily invoke any glibc symbols
addFilter(r'E: library-not-linked-against-libc .*/polymake/lib/.*\.so')

# No man page for development-only scripts
addFilter(r'W: no-manual-page-for-binary polymake-config')

# The binary invokes gcc, so it depends on the necessary devel packages and is
# itself a devel package
addFilter(r'polymake-singular.[^:]+: E: explicit-lib-dependency lib(gcc|normaliz)')
addFilter(r'polymake-singular.[^:]+: E: devel-dependency')
addFilter(r'polymake-singular.[^:]+: W: devel-file-in-non-devel-package')

# The documentation is in the doc package
addFilter(r'polymake.[^:]+: W: no-documentation')

# The automatically generated perl provides are also unversioned
addFilter(r'polymake\.spec:[^:]+: W: unversioned-explicit-provides perl\(.*\)')