From 2ddbc9a14486dccd27d6e51a3c639ffdfa4982de Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Mon, 25 Jan 2021 21:26:09 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/rpmlint.git#77d737a57a2cc278dd2bb182679ee441afc73b97 --- rpmlint.config | 2 ++ rpmlint.spec | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rpmlint.config b/rpmlint.config index b259872..1223091 100644 --- a/rpmlint.config +++ b/rpmlint.config @@ -461,6 +461,8 @@ 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") +# py.typed files are empty +addFilter(r"zero-length .+/site-packages/.+/py\.typed\b") bad_crypto_warning = \ '''This application package calls a function to explicitly set crypto ciphers diff --git a/rpmlint.spec b/rpmlint.spec index 51025a0..e929f4f 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -20,7 +20,7 @@ Name: rpmlint Version: 1.11 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Tool for checking common errors in RPM packages License: GPLv2 URL: https://github.com/rpm-software-management/rpmlint @@ -41,6 +41,7 @@ Patch213: rpmlint-1.11-libc-warnings.patch Patch214: rpmlint-1.11-no-python-macro.patch BuildArch: noarch +BuildRequires: make %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-rpm >= 4.4.2.2 @@ -162,6 +163,9 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8} %{_mandir}/man1/rpmlint.1* %changelog +* Mon Jan 25 2021 Miro Hrončok - 1.11-13 +- Filter out empty py.typed files in Python site-packages + * Fri Aug 21 2020 Miro Hrončok - 1.11-12 - Filter out empty REQUESTED files in pip installed Python metadata dist-info dirs