From 5b2a17f47802514b3484842624b61174f6239a51 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 8 Oct 2022 12:28:56 -0400 Subject: [PATCH] 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 --- fedora.toml | 3 +++ rpmlint.spec | 1 + 2 files changed, 4 insertions(+) diff --git a/fedora.toml b/fedora.toml index 755fd3f..3bffa7d 100644 --- a/fedora.toml +++ b/fedora.toml @@ -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/', diff --git a/rpmlint.spec b/rpmlint.spec index c3ef5cc..68332a7 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -83,6 +83,7 @@ cp -a %{SOURCE1} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysconfdir}/xdg * Fri Oct 07 2022 Todd Zullinger - 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 - 2.4.0-2 - remove the license list, depend on rpmlint-fedora-license-data instead