From 40e157a58e36dcc2df7368bc40cf5a8b2dee4103 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Wed, 18 Apr 2018 12:37:02 -0400 Subject: [PATCH] Ignore 'no-documentation' in debugsource packages The no-documentation warning has been ignored for debuginfo packages since 2006 (503da0b, rpmlint-0.76). --- rpmlint.config | 2 +- rpmlint.spec | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rpmlint.config b/rpmlint.config index 2d45301..9ec3691 100644 --- a/rpmlint.config +++ b/rpmlint.config @@ -391,7 +391,7 @@ addFilter("non-versioned-file-in-library-package") addFilter("requires-on-release") addFilter("jar-not-indexed") addFilter("outside-libdir-files") -addFilter("-debuginfo.* no-documentation") +addFilter("-debug(info|source).* no-documentation") addFilter("-debuginfo.* /usr/lib/debug/") addFilter("non-standard-dir-in-usr libexec") addFilter("^gpg-pubkey:") diff --git a/rpmlint.spec b/rpmlint.spec index b0487c3..30a9505 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -135,6 +135,9 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8} %{_mandir}/man1/rpmlint.1* %changelog +* Wed Apr 18 2018 Todd Zullinger +- Ignore 'no-documentation' in debugsource packages + * Tue Apr 17 2018 Tom Callaway - 1.10-11 - disable library-without-ldconfig-postin/postun checks (F28+)