Ensure that the manual pages are generated. (#1989836)

This commit is contained in:
Nick Clifton 2021-08-10 18:47:33 +01:00
parent f4ad5792af
commit a2d562c07d
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -rup binutils.orig/etc/texi2pod.pl binutils-2.37/etc/texi2pod.pl
--- binutils.orig/etc/texi2pod.pl 2021-08-10 10:15:38.063964450 +0100
+++ binutils-2.37/etc/texi2pod.pl 2021-08-10 16:52:51.705688992 +0100
@@ -59,6 +59,8 @@ while ($_ = shift) {
$flag = shift;
}
push (@ipath, $flag);
+ } elsif (/^--no-split$/) {
+ # ignore option for makeinfo compatibility
} elsif (/^-/) {
usage();
} else {

View File

@ -39,7 +39,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?name_cross}%{?_with_debug:-debug}
Version: 2.37
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv3+
URL: https://sourceware.org/binutils
@ -277,6 +277,10 @@ Patch17: binutils-gold-i386-gnu-property-notes.patch
# Lifetime: Fixed in 2.38
Patch18: binutils-dwarf-5-dir0.patch
# Purpose: Ensure that the manual pages are generated.
# Lifetime: Fixed in 2.38
Patch19: binutils-missing-man-pages.patch
#----------------------------------------------------------------------------
Provides: bundled(libiberty)
@ -457,6 +461,11 @@ touch */configure
%if %{without docs}
find . -name *.info -print -exec touch {} \;
%endif
# If we are creating the docs, touch the texi files so that the info and
# man pages will be rebuilt.
%if %{with docs}
find . -name *.texi -print -exec touch {} \;
%endif
%ifarch %{power64}
%define _target_platform %{_arch}-%{_vendor}-%{_host_os}
@ -880,6 +889,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Tue Aug 10 2021 Nick Clifton <nickc@redhat.com> - 2.37-6
- Ensure that the manual pages are generated. (#1989836)
* Tue Aug 10 2021 Nick Clifton <nickc@redhat.com> - 2.37-5
- Fix a local change to readelf which resulted in a success exit code for non-existant files. (#1990817)