Filter out empty py.typed files in Python site-packages
This commit is contained in:
parent
00196912df
commit
77d737a57a
@ -461,6 +461,8 @@ addFilter("info-files-without-install-info-postun")
|
|||||||
addFilter("postin-without-install-info")
|
addFilter("postin-without-install-info")
|
||||||
# pip 20.2 generates PEP 376 "REQUESTED" marker (empty)
|
# pip 20.2 generates PEP 376 "REQUESTED" marker (empty)
|
||||||
addFilter(r"zero-length .+/site-packages/.+\.dist-info/REQUESTED\b")
|
addFilter(r"zero-length .+/site-packages/.+\.dist-info/REQUESTED\b")
|
||||||
|
# py.typed files are empty
|
||||||
|
addFilter(r"zero-length .+/site-packages/.+/py\.typed\b")
|
||||||
|
|
||||||
bad_crypto_warning = \
|
bad_crypto_warning = \
|
||||||
'''This application package calls a function to explicitly set crypto ciphers
|
'''This application package calls a function to explicitly set crypto ciphers
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: rpmlint
|
Name: rpmlint
|
||||||
Version: 1.11
|
Version: 1.11
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
Summary: Tool for checking common errors in RPM packages
|
Summary: Tool for checking common errors in RPM packages
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/rpm-software-management/rpmlint
|
URL: https://github.com/rpm-software-management/rpmlint
|
||||||
@ -163,6 +163,9 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
|
|||||||
%{_mandir}/man1/rpmlint.1*
|
%{_mandir}/man1/rpmlint.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 25 2021 Miro Hrončok <mhroncok@redhat.com> - 1.11-13
|
||||||
|
- Filter out empty py.typed files in Python site-packages
|
||||||
|
|
||||||
* Fri Aug 21 2020 Miro Hrončok <mhroncok@redhat.com> - 1.11-12
|
* 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
|
- Filter out empty REQUESTED files in pip installed Python metadata dist-info dirs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user