From 211efe189717486cc2565cb316cc56419b1aa517 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Thu, 3 May 2018 21:35:36 -0400 Subject: [PATCH] Explicitly disable the non-standard-group check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The non-standard-group check has been effectively disabled since rpm removed the GROUPS file in 4.14.0¹. Additionally, the Fedora packaging guidelines discourage the use of the 'Group:' tag², so there is little point in maintaining a list of valid groups. ¹ https://github.com/rpm-software-management/rpm/commit/0d93b634 ² https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections --- rpmlint.config | 1 + rpmlint.spec | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rpmlint.config b/rpmlint.config index 70194ff..9b091af 100644 --- a/rpmlint.config +++ b/rpmlint.config @@ -23,6 +23,7 @@ setOption("UseEpoch", False) setOption("UseUTF8", True) setOption("UseVersionInChangeLog", True) setOption("ValidSrcPerms", (int("664",8), int("644",8), )) +setOption("ValidGroups", []) setOption("ValidShells", ( "", diff --git a/rpmlint.spec b/rpmlint.spec index 9e0db98..08ea4b1 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -138,8 +138,9 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8} %{_mandir}/man1/rpmlint.1* %changelog -* Thu May 03 2018 Todd Zullinger +* Thu May 03 2018 Todd Zullinger - 1.10-12 - Properly handle the exception on missing files (bz1574509) +- Explicitly disable the non-standard-group check * Wed Apr 18 2018 Todd Zullinger - Ignore 'no-documentation' in debugsource packages