5658a2e3cc
Copied from python3.10, "python" replaced with "pypy" and various rules removed. Added the unexpanded macro in: Requires: emacs-filesystem filter. This is not a complete filter, but allows me to see the extra errors/warnings.
71 lines
2.7 KiB
Plaintext
71 lines
2.7 KiB
Plaintext
# KNOWN BUGS:
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1489816
|
|
addFilter(r'crypto-policy-non-compliance-openssl')
|
|
|
|
|
|
# TESTS:
|
|
addFilter(r'(zero-length|pem-certificate|uncompressed-zip) /usr/lib(64)?/pypy3\.\d+/test')
|
|
|
|
|
|
# OTHER DELIBERATES:
|
|
# chroot function
|
|
addFilter(r'missing-call-to-chdir-with-chroot')
|
|
|
|
# intentionally hardcoded
|
|
addFilter(r'hardcoded-library-path in %{_prefix}/lib/(debug/%{_libdir}|pypy%{pyversion})')
|
|
|
|
# we have non binary stuff, python files
|
|
addFilter(r'only-non-binary-in-usr-lib')
|
|
|
|
# some devel files that are deliberately needed
|
|
addFilter(r'devel-file-in-non-devel-package /usr/include/pypy3\.\d+m?/pyconfig-(32|64)\.h')
|
|
addFilter(r'devel-file-in-non-devel-package /usr/lib(64)?/pypy3\.\d+/distutils/tests/xxmodule\.c')
|
|
|
|
# SORRY, NOT SORRY:
|
|
# manual pages
|
|
addFilter(r'no-manual-page-for-binary pypy(3(\.\d+)?)?')
|
|
|
|
# missing documentation from subpackages
|
|
addFilter(r'^pypy3(\.\d+)?-(debug|tkinter|test|idle)\.[^:]+: (E|W): no-documentation')
|
|
|
|
# we have extra tokens at the end of %endif/%else directives, we consider them useful
|
|
addFilter(r'extra tokens at the end of %(endif|else) directive')
|
|
|
|
|
|
# RPMLINT IMPERFECTIONS
|
|
# https://github.com/rpm-software-management/rpmlint/issues/123
|
|
addFilter(r'python-bytecode-wrong-magic-value .* expected 33\d\d \(3\.7\), found 3393')
|
|
# https://github.com/rpm-software-management/rpmlint/pull/133
|
|
addFilter(r'python-bytecode-wrong-magic-value .* expected 33\d\d \(3\.7\), found 3394')
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1550562
|
|
# https://github.com/rpm-software-management/rpmlint/issues/128
|
|
addFilter(r'python-bytecode-inconsistent-mtime .* 1970')
|
|
|
|
# debugsource
|
|
addFilter(r'^pypy3(\.\d+)?-debugsource\.[^:]+: (E|W): no-documentation')
|
|
|
|
# debuginfo
|
|
addFilter(r'^pypy3(\.\d+)?-debuginfo\.[^:]+: (E|W): useless-provides debuginfo\(build-id\)')
|
|
|
|
# we just don't have the macro installed when rpmlint runs, but the package is BuildRequired
|
|
addFilter(r'Possible unexpanded macro in:\s+Requires:\s+emacs-filesystem')
|
|
|
|
# this is OK for F28+
|
|
addFilter(r'library-without-ldconfig-post')
|
|
|
|
# debug package contains devel and non-devel files
|
|
addFilter(r'pypy3(\.\d+)?-debug\.[^:]+: (E|W): (non-)?devel-file-in-(non-)?devel-package')
|
|
|
|
# Python modules don't need to be linked against libc
|
|
# Since 3.8 they are no longer linked against libpypy-c
|
|
addFilter(r'(E|W): library-not-linked-against-libc /usr/lib(64)?/pypy3\.\d+/')
|
|
addFilter(r'(E|W): shared-lib-without-dependency-information /usr/lib(64)?/pypy3\.\d+/')
|
|
|
|
# specfile-errors are listed twice, once with reason and once without
|
|
# we filter out the empty ones
|
|
addFilter(r'\bpypy3(\.\d+)?\.(src|spec): (E|W): specfile-error\s+$')
|
|
|
|
# SPELLING ERRORS
|
|
addFilter(r'spelling-error .* en_US (bytecode|pyc|filename|tkinter|namespaces|pytest) ')
|