From fd3ffabf2a7b69258096f3755c841ed11b87d756 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 25 Jun 2014 12:39:23 -0400 Subject: [PATCH] add systemd to UsrLibBinaryException --- rpmlint.config | 3 +++ rpmlint.spec | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rpmlint.config b/rpmlint.config index 120f20d..1ad7ab3 100644 --- a/rpmlint.config +++ b/rpmlint.config @@ -322,6 +322,9 @@ setOption("ValidLicenses", ( setOption('SystemLibPaths', ('/lib', '/lib64', '/usr/lib', '/usr/lib64')) +# Add systemd dir to ignored path for UsrLibBinaryException +setOption('UsrLibBinaryException', '^/usr/lib/(perl|python|menu|pkgconfig|systemd|lib[^/]+\.(so|l?a)$)') + # Get standard users and groups from the setup package's uidgid file setOption('StandardUsers', []) setOption('StandardGroups', []) diff --git a/rpmlint.spec b/rpmlint.spec index 0807cf6..5f1b56a 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -1,6 +1,6 @@ Name: rpmlint Version: 1.5 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Tool for checking common errors in RPM packages Group: Development/Tools @@ -114,6 +114,9 @@ make check %changelog +* Wed Jun 25 2014 Tom Callaway - 1.5-11 +- add systemd to UsrLibBinaryException + * Thu May 29 2014 Tom Callaway - 1.5-10 - fix python 3.4 magic number (#1102846)