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