From 80a6e5ce90f2ea9ffdf766af2082614c52e41552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 26 Mar 2021 14:29:07 +0000 Subject: [PATCH] rpmlint: Filter a new way of unversioned Obsoletes warning --- python3.6.rpmlintrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python3.6.rpmlintrc b/python3.6.rpmlintrc index 06f4a40..2b57ecd 100644 --- a/python3.6.rpmlintrc +++ b/python3.6.rpmlintrc @@ -71,5 +71,9 @@ addFilter(r'macro-in-comment %\{_pyconfig(32|64)_h\}') # Python modules don't need to be linked against libc addFilter(r'(E|W): library-not-linked-against-libc /usr/lib(64)?/python3.\d/lib-dynload/') +# specfile-errors are listed twice, once with reason and once without +# we filter out the empty ones +addFilter(r'\bpython3(\.\d+)?\.(src|spec): (E|W): specfile-error\s+$') + # SPELLING ERRORS addFilter(r'spelling-error .* en_US (bytecode|pyc|filename|tkinter|namespaces|pytest) ')