From 12ea7db6f26ea65f63ba612633ef37dfe5279a26 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 8 Sep 2017 17:25:17 -0400 Subject: [PATCH] update config file to reflect new licenses and to ignore devel files in debugsource packages --- rpmlint.config | 6 +++++- rpmlint.spec | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/rpmlint.config b/rpmlint.config index 8fbe2e9..6403997 100644 --- a/rpmlint.config +++ b/rpmlint.config @@ -40,7 +40,7 @@ setOption("DanglingSymlinkExceptions", ( setOption("ValidLicenses", ( # These are the short names for all of the Fedora approved licenses. # The master list is kept here: http://fedoraproject.org/wiki/Licensing - # Last synced with revision "2.31, 12 January 2016" of that page. + # Last synced with revision "2.36, 18 April 2017" of that page. 'AAL', 'Abstyles', 'Adobe', @@ -100,6 +100,7 @@ setOption("ValidLicenses", ( 'Dotseqn', 'DSDP', 'dvipdfm', + 'DWPL', 'ECL 1.0', 'ECL 2.0', 'eCos', @@ -247,6 +248,7 @@ setOption("ValidLicenses", ( 'SPL', 'STMPL', 'SWL', + 'TCGL', 'TCL', 'Teeworlds', 'TGPPL', @@ -434,6 +436,8 @@ 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 4345b0c..4d865b1 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -16,7 +16,7 @@ Name: rpmlint Version: 1.10 -Release: 1%{?dist} +Release: 2%{?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 +* Fri Sep 8 2017 Tom Callaway - 1.10-2 +- update config file to reflect new licenses and to ignore devel files in debugsource packages + * Tue Sep 5 2017 Tom Callaway - 1.10-1 - update to 1.10