[packages/binutils] - more info alignments + fix for texinfo 7+, updated texinfo BR

qboosh qboosh at pld-linux.org
Sun Apr 9 15:06:59 CEST 2023


commit 99287876996ee929894db4c7c52f21227d14e116
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 9 15:09:34 2023 +0200

    - more info alignments + fix for texinfo 7+, updated texinfo BR

 binutils-info.patch | 39 +++++++++++++++++++++++++++++++++++++++
 binutils.spec       | 10 ++++++++--
 2 files changed, 47 insertions(+), 2 deletions(-)
---
diff --git a/binutils.spec b/binutils.spec
index 3a54b52..be8d24e 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -66,7 +66,7 @@ BuildRequires:	rpmbuild(macros) >= 1.527
 BuildRequires:	sparc32
 %endif
 BuildRequires:	tar >= 1:1.22
-BuildRequires:	texinfo >= 4.2
+BuildRequires:	texinfo >= 6.3
 BuildRequires:	zlib-devel
 %{?with_tests:BuildRequires:	zlib-static}
 BuildRequires:	zstd-devel
@@ -74,7 +74,7 @@ BuildRequires:	zstd-devel
 Conflicts:	gcc-c++ < 5:3.3
 Conflicts:	modutils < 2.4.17
 Conflicts:	rpmbuild(macros) < 1.660
-Obsoletes:	binutils-gold
+Obsoletes:	binutils-gold < 3:2.21.51.0.7-2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -184,6 +184,12 @@ for dir in gas bfd; do
 	%{__autoconf}
 	cd ..
 done
+cd libctf
+%{__aclocal} -I.. -I../config -I../bfd
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd ..
 
 # More targets
 TARGETS=
diff --git a/binutils-info.patch b/binutils-info.patch
index 19ac2a7..d660caa 100644
--- a/binutils-info.patch
+++ b/binutils-info.patch
@@ -133,3 +133,42 @@ diff -urN binutils-2.24.51.0.4.org/ld/ld.texi binutils-2.24.51.0.4/ld/ld.texi
  @end direntry
  
  @titlepage
+--- binutils-2.40/libsframe/doc/sframe-spec.texi.orig	2023-01-14 01:00:00.000000000 +0100
++++ binutils-2.40/libsframe/doc/sframe-spec.texi	2023-04-09 13:11:37.982011188 +0200
+@@ -13,9 +13,9 @@ License''.
+ 
+ @end copying
+ 
+- at dircategory Software development
++ at dircategory Programming tools:
+ @direntry
+-* SFrame: (sframe-spec).         The Simple Frame format.
++* SFrame: (sframe-spec).		The Simple Frame format
+ @end direntry
+ 
+ @titlepage
+--- binutils-2.40/gprofng/doc/gprofng.texi.orig	2023-01-14 01:00:00.000000000 +0100
++++ binutils-2.40/gprofng/doc/gprofng.texi	2023-04-09 13:12:26.545081432 +0200
+@@ -64,9 +64,9 @@ gprofng
+ 
+ @c -- Entry for the Info dir structure ----------------------------------------
+ @ifnottex
+- at dircategory Software development
++ at dircategory Programming tools:
+ @direntry
+-* gprofng: (gprofng).                    The next generation profiling tool for Linux
++* gprofng: (gprofng).			The next generation profiling tool for Linux
+ @end direntry
+ @end ifnottex
+ 
+--- binutils-2.40/libctf/configure.ac.orig	2023-01-14 01:00:00.000000000 +0100
++++ binutils-2.40/libctf/configure.ac	2023-04-09 13:39:22.069662722 +0200
+@@ -184,7 +184,7 @@ changequote(,)
+     # We require texinfo to be 6.3 or later, for a working synindex
+     # and validatemenus: otherwise we fall back to /bin/true.
+     if ${MAKEINFO} --version \
+-       | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9][0-9])' >/dev/null 2>&1; then
++       | grep -E 'texinfo[^0-9]*(6\.[3-9]|[7-9]\.)' >/dev/null 2>&1; then
+       build_info=yes
+     else
+         build_info=
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/binutils.git/commitdiff/99287876996ee929894db4c7c52f21227d14e116



More information about the pld-cvs-commit mailing list