diff --git a/rpmlint.config b/rpmlint.config index 1223091..8ee93fd 100644 --- a/rpmlint.config +++ b/rpmlint.config @@ -463,6 +463,9 @@ addFilter("postin-without-install-info") addFilter(r"zero-length .+/site-packages/.+\.dist-info/REQUESTED\b") # py.typed files are empty addFilter(r"zero-length .+/site-packages/.+/py\.typed\b") +# specfile-errors are listed twice, once with reason and once without +# we filter out the empty ones +addFilter(r"\.(src|spec): (E|W): specfile-error\s+$") bad_crypto_warning = \ '''This application package calls a function to explicitly set crypto ciphers diff --git a/rpmlint.spec b/rpmlint.spec index e7b8bf1..f1ca390 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -20,7 +20,7 @@ Name: rpmlint Version: 1.11 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Tool for checking common errors in RPM packages License: GPLv2 URL: https://github.com/rpm-software-management/rpmlint @@ -165,6 +165,9 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8} %{_mandir}/man1/rpmlint.1* %changelog +* Tue Apr 13 2021 Miro HronĨok - 1.11-16 +- Filter out empty specfile-errors, they are duplicates + * Fri Feb 5 2021 Tom Callaway - 1.11-15 - correct hard-coded version in Makefile