Update UsrLibBinaryException config to include .build-id
In2e06474
("buildid fixes", 2017-07-17) an upstream patch was applied which added '.build-id' to the UsrLibBinaryException regex. Unfortunately, sincefd3ffab
("add systemd to UsrLibBinaryException", 2014-06-25)), we override this setting in our rpmlint.config file and it was not updated to include '.build-id'. Update the regex to include (most) of the upstream changes, along with our addition of 'systemd' to the regex. This fixes spurious 'only-non-binary-in-usr-lib' warnings.
This commit is contained in:
parent
941afaf845
commit
a325960c04
@ -337,7 +337,7 @@ setOption("ValidLicenses", (
|
||||
setOption('SystemLibPaths', ('/lib', '/lib64', '/usr/lib', '/usr/lib64'))
|
||||
|
||||
# Add systemd dir to ignored path for UsrLibBinaryException
|
||||
setOption('UsrLibBinaryException', r'^/usr/lib/(perl|python|menu|pkgconfig|systemd|lib[^/]+\.(so|l?a)$)')
|
||||
setOption('UsrLibBinaryException', r'^/usr/lib(64)?/(perl|python|ruby|menu|pkgconfig|ocaml|systemd|lib[^/]+\.(so|l?a)$|\.build-id)')
|
||||
|
||||
# Get standard users and groups from the setup package's uidgid file
|
||||
setOption('StandardUsers', [])
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
Name: rpmlint
|
||||
Version: 1.10
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?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 Apr 16 2018 Todd Zullinger <tmz@pobox.com> - 1.10-9
|
||||
- Update UsrLibBinaryException config to include .build-id
|
||||
|
||||
* Sun Mar 04 2018 Till Maas <opensource@till.name> - 1.10-8
|
||||
- Update URL (RH #1547150)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user