Properly handle the exception on missing files (bz1574509)
On installs where documentation or additional languages are not installed, rpmlint fails while attempting to iterate over the file list. The files are only opened for their 'magic numbers' which is used in a few tests in BinariesCheck and SourceCheck.
Fedora container images sets nodocs and '%_install_langs en_US' (which causes locale files not to be installed). Running rpmlint in such a container results in a traceback when rpmlint attempts to check the packages files.
Backport patch from upstream to fix the issue.
Resolves: https://bugzilla.redhat.com/1574509
Source: https://github.com/rpm-software-management/rpmlint/commit/d59bc2a
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2018-9f603e1981
Please login to add feedback.
This update has been submitted for testing by tmz.
This update has been pushed to testing.
Works great! LGTM! =)
Works!
no regressions noted
This update has been submitted for batched by bodhi.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.