From 20813f4398d976746dae5cf5b2696d40c526927cb09e1c968e533ae83c20157f Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 2 Nov 2021 15:59:30 +0000 Subject: [PATCH] - Fix empty man-pages from broken release tarball [PR28144]. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=376 --- binutils.changes | 5 +++++ binutils.spec | 5 +++++ cross-aarch64-binutils.changes | 5 +++++ cross-aarch64-binutils.spec | 5 +++++ cross-arm-binutils.changes | 5 +++++ cross-arm-binutils.spec | 5 +++++ cross-avr-binutils.changes | 5 +++++ cross-avr-binutils.spec | 5 +++++ cross-epiphany-binutils.changes | 5 +++++ cross-epiphany-binutils.spec | 5 +++++ cross-hppa-binutils.changes | 5 +++++ cross-hppa-binutils.spec | 5 +++++ cross-hppa64-binutils.changes | 5 +++++ cross-hppa64-binutils.spec | 5 +++++ cross-i386-binutils.changes | 5 +++++ cross-i386-binutils.spec | 5 +++++ cross-ia64-binutils.changes | 5 +++++ cross-ia64-binutils.spec | 5 +++++ cross-m68k-binutils.changes | 5 +++++ cross-m68k-binutils.spec | 5 +++++ cross-mips-binutils.changes | 5 +++++ cross-mips-binutils.spec | 5 +++++ cross-ppc-binutils.changes | 5 +++++ cross-ppc-binutils.spec | 5 +++++ cross-ppc64-binutils.changes | 5 +++++ cross-ppc64-binutils.spec | 5 +++++ cross-ppc64le-binutils.changes | 5 +++++ cross-ppc64le-binutils.spec | 5 +++++ cross-riscv64-binutils.changes | 5 +++++ cross-riscv64-binutils.spec | 5 +++++ cross-rx-binutils.changes | 5 +++++ cross-rx-binutils.spec | 5 +++++ cross-s390-binutils.changes | 5 +++++ cross-s390-binutils.spec | 5 +++++ cross-s390x-binutils.changes | 5 +++++ cross-s390x-binutils.spec | 5 +++++ cross-sparc-binutils.changes | 5 +++++ cross-sparc-binutils.spec | 5 +++++ cross-sparc64-binutils.changes | 5 +++++ cross-sparc64-binutils.spec | 5 +++++ cross-spu-binutils.changes | 5 +++++ cross-spu-binutils.spec | 5 +++++ cross-x86_64-binutils.changes | 5 +++++ cross-x86_64-binutils.spec | 5 +++++ cross-xtensa-binutils.changes | 5 +++++ cross-xtensa-binutils.spec | 5 +++++ 46 files changed, 230 insertions(+) diff --git a/binutils.changes b/binutils.changes index 8e2c309..bae1c75 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/binutils.spec b/binutils.spec index 3dd48b1..b4abb5d 100644 --- a/binutils.spec +++ b/binutils.spec @@ -232,6 +232,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 40b12a0..1165781 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index f8e9cc1..839d453 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 72e97d4..9d9d2d5 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 860b95b..bc62071 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index b735aea..613bfd2 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 10e9448..c88d16d 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 15d2def..17abeee 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index bcfbfa2..8ffdb38 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 0709a16..0d2365e 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 5c0b51f..4836a90 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index ce4a579..ee5910d 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 524752f..14df4b2 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index c5b1888..353d50b 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index 1f6c99b..5caaf2a 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index e026096..89e0ac9 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 51d9110..3428e2b 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 52fabaa..f32b198 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index ad489ac..9de51e4 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 82b1542..c0784ea 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 5c90ee2..aedff1b 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index b95c8bd..033c824 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index 8e2c309..bae1c75 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 2 15:57:53 UTC 2021 - Michael Matz + +- Fix empty man-pages from broken release tarball [PR28144]. + ------------------------------------------------------------------- Mon Nov 1 09:34:38 UTC 2021 - Martin Liška diff --git a/cross-xtensa-binutils.spec b/cross-xtensa-binutils.spec index 124bb87..5010b6e 100644 --- a/cross-xtensa-binutils.spec +++ b/cross-xtensa-binutils.spec @@ -235,6 +235,11 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h rm -f ld/ldlex.c rm -f ld/ldgram.c ld/ldgram.h +# The 2.37 released tarball contains wrongly pre-generated (empty) man pages +# so we remove those here as well. Consider removing for later releases. +rm -rf binutils/doc/*.1 +rm -rf binutils/doc/cxxfilt.man + %build %define _lto_cflags %{nil} sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h