9518239
# KNOWN BUGS:
9518239
# https://bugzilla.redhat.com/show_bug.cgi?id=1489816
9518239
addFilter(r'crypto-policy-non-compliance-openssl')
9518239
9518239
9518239
# TESTS:
9518239
addFilter(r'(zero-length|pem-certificate|uncompressed-zip) /usr/lib(64)?/python3.\d/test')
9518239
9518239
9518239
# OTHER DELIBERATES:
9518239
# chroot function
9518239
addFilter(r'missing-call-to-chdir-with-chroot')
9518239
9518239
# intentionally unversioned and selfobsoleted
9518239
addFilter(r'unversioned-explicit-obsoletes python')
9518239
addFilter(r'self-obsoletion python3\d obsoletes python3\d')
9518239
9518239
# intentionally hardcoded
9518239
addFilter(r'hardcoded-library-path in %{_prefix}/lib/(debug/%{_libdir}|python%{pybasever})')
9518239
9518239
# we have non binary stuff, python files
9518239
addFilter(r'only-non-binary-in-usr-lib')
9518239
9518239
# some devel files that are deliberately needed
9518239
addFilter(r'devel-file-in-non-devel-package /usr/include/python3\.\dm/pyconfig-(32|64)\.h')
9518239
addFilter(r'devel-file-in-non-devel-package /usr/lib64/python3\.\d/distutils/tests/xxmodule\.c')
9518239
9518239
9518239
# SORRY, NOT SORRY:
9518239
# manual pages
9518239
addFilter(r'no-manual-page-for-binary (idle|pydoc|pyvenv|2to3|python3-debug|pathfix\.py)')
9518239
addFilter(r'no-manual-page-for-binary python3.*-config$')
9518239
addFilter(r'no-manual-page-for-binary python3.\dd?m$')
9518239
9518239
# missing documentation from subpackages
9518239
addFilter(r'^python3\d?-(debug|tkinter|test|idle)\.[^:]+: (E|W): no-documentation')
9518239
9518239
# platform python is obsoleted, but not provided
9518239
addFilter(r'obsolete-not-provided platform-python')
9518239
9518239
9518239
# RPMLINT IMPERFECTIONS:
9518239
# ifarch applied patches are OK
9518239
# https://fedoraproject.org/wiki/Packaging:Guidelines#Architecture_Support
9518239
addFilter(r'%ifarch-applied-patch')
9518239
9518239
# debugsource
9518239
addFilter(r'^python3\d?-debugsource\.[^:]+: (E|W): no-documentation')
9518239
9518239
# debuginfo
9518239
addFilter(r'^python3\d?-debuginfo\.[^:]+: (E|W): useless-provides debuginfo\(build-id\)')
9518239
9518239
# debug package contains devel and non-devel files
9518239
addFilter(r'python3\d?-debug.[^:]+: (E|W): (non-)?devel-file-in-(non-)?devel-package')
9518239
9518239
# this goes to other subpackage, hence not actually dangling, the read error is bogus
9518239
addFilter(r'dangling-relative-symlink /usr/lib(64)?/pkgconfig/python-3\.\ddm\.pc python-3\.\d\.pc')
9518239
addFilter(r'read-error /usr/lib(64)?/pkgconfig/python-3\.\ddm\.pc \[Errno 2\]')
9518239
d647195
# we need this macro to evaluate, even if the line starts with #
d647195
addFilter(r'macro-in-comment %\{_pyconfig(32|64)_h\}')
9518239
9518239
# SPELLING ERRORS
9518239
addFilter(r'spelling-error .* en_US (bytecode|pyc|filename|tkinter|namespaces|pytest) ')