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