SHA256
3
0
forked from pool/binutils

Accepting request 315982 from home:AndreasSchwab:f

- Work around qemu bug

OBS-URL: https://build.opensuse.org/request/show/315982
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=191
This commit is contained in:
Michael Matz 2015-07-10 21:02:31 +00:00 committed by Git OBS Bridge
parent 347c51db60
commit 6f8caac7e7
40 changed files with 200 additions and 20 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -189,6 +189,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-aarch64-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-arm-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-avr-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-epiphany-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-hppa-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-hppa64-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-i386-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ia64-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-m68k-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-mips-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc64-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc64le-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-s390-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-s390x-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-sparc-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-sparc64-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-spu-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 10 15:57:46 UTC 2015 - schwab@linux-m68k.org
- Work around qemu bug
-------------------------------------------------------------------
Thu Jul 9 14:26:13 UTC 2015 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-x86_64-binutils
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -192,6 +192,10 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
#
# test_vanilla
%endif
%if 0%{?qemu_user_space_build}
# Work around bug in qemu (make: execvp: /bin/sh: Argument list too long)
sed -i 's/\.EXPORT_ALL_VARIABLES:/#&/' gold/testsuite/Makefile.{am,in}
%endif
%build
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h