ignore missing-hash-section error

Upstream glibc removed the .hash section after a long deprecation
period.  Unfortunately, the deprecation was not widely known and caused
issues for some proprietary software.  This has led to the .hash section
being added to glibc again (at least temporarily), but many/most of the
packages in Fedora have been built with only the .gnu.hash section.

Producing an error for all of these packages is counter-productive, as
the packagers building them have little control over this area.  Ignore
the error by default.

Resolves: #2132969
This commit is contained in:
Todd Zullinger 2022-10-08 12:28:56 -04:00
parent 178007d39d
commit 5b2a17f478
2 changed files with 4 additions and 0 deletions

View File

@ -323,6 +323,9 @@ Filters = [
# https://github.com/rpm-software-management/rpmlint/issues/781
'no-library-dependency-for',
'no-library-dependency-on',
# ignore missing .hash section; we still warn if .gnu.hash is missing
# https://bugzilla.redhat.com/2132969
' missing-hash-section ',
## Bash completion files are not scripts, do not require them marked as %config
# 'W: non-conffile-in-etc /etc/bash_completion.d/',

View File

@ -83,6 +83,7 @@ cp -a %{SOURCE1} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysconfdir}/xdg
* Fri Oct 07 2022 Todd Zullinger <tmz@pobox.com> - 2.4.0-3
- disable various errors/warnings for debug/devel packages
- fix broken regex for no-manual-page-for-binary check (rhbz#2132936)
- ignore missing-hash-section error (rhbz#2132969)
* Wed Oct 05 2022 Miro Hrončok <mhroncok@redhat.com> - 2.4.0-2
- remove the license list, depend on rpmlint-fedora-license-data instead