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 is missing some technical terms
addFilter(r'W: spelling-error .* combinatorial')

# These packages have no binary bits
addFilter(r'gap-(core|devel|libs|online-help)\.[^:]+: W: only-non-binary-in-usr-lib')

# The documentation is in the online-help subpackage
addFilter(r'gap-(libs|online-help)\.noarch: W: no-documentation')
addFilter(r'libgap(-devel)?\.[^:]+: W: no-documentation')

# This file is zero-length on purpose.  It grows as packages are installed.
addFilter(r'E: zero-length /var/lib/gap/workspace.gz')

# These files are deliberately empty.
addFilter(r'E: zero-length /usr/lib/gap/tst/example-dir/dir-test/(A|B|C|D)')
addFilter(r'E: zero-length /usr/lib/gap/tst/mockpkg/doc/chap0\.html')
addFilter(r'E: zero-length /usr/lib/gap/tst/testinstall/files/empty\.txt')
addFilter(r'E: zero-length /usr/lib/gap/tst/testspecial/empty\.tst')

# The package Requires gmp-devel so the symlink will not dangle.
addFilter(r'W: dangling-symlink .* /usr/include/gmp\.h')

# These are not libraries in the C sense of the word.
addFilter(r'E: explicit-lib-dependency gap-pkg-(ctbl|tom)lib')

# We use /usr/lib on purpose to avoid placing the large number of noarch
# gap-pkg-* packages into an arch-specific path.
addFilter(r'gap\.spec:[^:]+: E: hardcoded-library-path in %{_prefix}/lib/gap')