Filter out empty REQUESTED files in pip installed Python metadata dist-info dirs

This commit is contained in:
Miro Hrončok 2020-08-21 15:07:34 +02:00
parent b520121e46
commit 9d73fed514
2 changed files with 6 additions and 1 deletions

View File

@ -459,6 +459,8 @@ addFilter("non-standard-dir-perm /var/lib/.* 700")
addFilter("info-files-without-install-info-postin")
addFilter("info-files-without-install-info-postun")
addFilter("postin-without-install-info")
# pip 20.2 generates PEP 376 "REQUESTED" marker (empty)
addFilter(r"zero-length .+/site-packages/.+\.dist-info/REQUESTED\b")
bad_crypto_warning = \
'''This application package calls a function to explicitly set crypto ciphers

View File

@ -20,7 +20,7 @@
Name: rpmlint
Version: 1.11
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Tool for checking common errors in RPM packages
License: GPLv2
URL: https://github.com/rpm-software-management/rpmlint
@ -162,6 +162,9 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
%{_mandir}/man1/rpmlint.1*
%changelog
* Fri Aug 21 2020 Miro Hrončok <mhroncok@redhat.com> - 1.11-12
- Filter out empty REQUESTED files in pip installed Python metadata dist-info dirs
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild