From 2a5843ffca6c60c9514d0eaffc121564da921d04 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 11 Sep 2017 11:34:49 -0400 Subject: [PATCH] use correct config file option for debugsource --- rpmlint.config | 3 +-- rpmlint.spec | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/rpmlint.config b/rpmlint.config index 6403997..f11d533 100644 --- a/rpmlint.config +++ b/rpmlint.config @@ -17,6 +17,7 @@ setOption("KernelModuleRPMsOK", False) setOption("MaxLineLength", 80) setOption("NetworkEnabled", True) setOption("ReleaseExtension", '\.(fc|rhe?l|el)\d+(?=\.|$)') +setOption("UseDebugSource", True) setOption("UseDefaultRunlevels", False) setOption("UseEpoch", False) setOption("UseUTF8", True) @@ -436,8 +437,6 @@ addFilter("invalid-url .*github\.com/.*HTTP Error 403") # They automatically include the package name and are always # quite long. addFilter("-debuginfo.* description-line-too-long") -# ignore debugsource packages and where they put their files -addFilter("-debugsource.* devel-file-in-non-devel-package") bad_crypto_warning = \ '''This application package calls a function to explicitly set crypto ciphers diff --git a/rpmlint.spec b/rpmlint.spec index 4d865b1..ad1e49c 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -16,7 +16,7 @@ Name: rpmlint Version: 1.10 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tool for checking common errors in RPM packages Group: Development/Tools License: GPLv2 @@ -127,6 +127,9 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8} %{_mandir}/man1/rpmlint.1* %changelog +* Mon Sep 11 2017 Tom Callaway - 1.10-3 +- use correct config file option for debugsource + * Fri Sep 8 2017 Tom Callaway - 1.10-2 - update config file to reflect new licenses and to ignore devel files in debugsource packages