churchyard / rpms / python36

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