use correct config file option for debugsource

This commit is contained in:
Tom Callaway 2017-09-11 11:34:49 -04:00
parent 5e6ce69b4c
commit 2a5843ffca
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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 <spot@fedoraproject.org> - 1.10-3
- use correct config file option for debugsource
* Fri Sep 8 2017 Tom Callaway <spot@fedoraproject.org> - 1.10-2
- update config file to reflect new licenses and to ignore devel files in debugsource packages