Fix verification of ld.bfd installation.

Resolves: RHEL-30887
This commit is contained in:
Nick Clifton 2024-04-02 13:55:34 +01:00
parent 69b0093bda
commit ab727ba6ce

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug}
Version: 2.41
Release: 35%{?dist}
Release: 36%{?dist}
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
URL: https://sourceware.org/binutils
@ -1274,7 +1274,8 @@ exit 0
%{_bindir}/[!l]*
# %%verify(symlink) does not work for some reason, so using "owner" instead.
%verify(owner) %{_bindir}/ld
%{_bindir}/ld.bfd
# %%verify(mtime) does not work, probably because of the alternatives command in the %%post stage, so using "owner" instead. (RHEL-30887)
%verify(owner) %{_bindir}/ld.bfd
%if %{with gprofng}
%exclude %{_bindir}/gp-*
@ -1369,6 +1370,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Tue Apr 02 2024 Nick Clifton <nickc@redhat.com> - 2.41-36
- Fix verification of ld.bfd installation. (RHEL-30887)
* Mon Mar 18 2024 Nick Clifton <nickc@redhat.com> - 2.41-35
- Enable cross builds. (RHEL-27750)