From 02edc8adefa86a541562554d45d3ee983d29f2abc6b126bc7c9fedbeec3f916f Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Thu, 18 Jan 2018 15:44:48 +0000 Subject: [PATCH] Accepting request 566969 from home:a_faerber:arm:none Prepare arm-none-eabi binutils as symlinks OBS-URL: https://build.opensuse.org/request/show/566969 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=260 --- binutils.changes | 5 +++++ binutils.spec | 10 +++++++++- cross-aarch64-binutils.changes | 5 +++++ cross-aarch64-binutils.spec | 10 +++++++++- cross-arm-binutils.changes | 5 +++++ cross-arm-binutils.spec | 10 +++++++++- cross-avr-binutils.changes | 5 +++++ cross-avr-binutils.spec | 10 +++++++++- cross-epiphany-binutils.changes | 5 +++++ cross-epiphany-binutils.spec | 10 +++++++++- cross-hppa-binutils.changes | 5 +++++ cross-hppa-binutils.spec | 10 +++++++++- cross-hppa64-binutils.changes | 5 +++++ cross-hppa64-binutils.spec | 10 +++++++++- cross-i386-binutils.changes | 5 +++++ cross-i386-binutils.spec | 10 +++++++++- cross-ia64-binutils.changes | 5 +++++ cross-ia64-binutils.spec | 10 +++++++++- cross-m68k-binutils.changes | 5 +++++ cross-m68k-binutils.spec | 10 +++++++++- cross-mips-binutils.changes | 5 +++++ cross-mips-binutils.spec | 10 +++++++++- cross-ppc-binutils.changes | 5 +++++ cross-ppc-binutils.spec | 10 +++++++++- cross-ppc64-binutils.changes | 5 +++++ cross-ppc64-binutils.spec | 10 +++++++++- cross-ppc64le-binutils.changes | 5 +++++ cross-ppc64le-binutils.spec | 10 +++++++++- cross-riscv64-binutils.changes | 5 +++++ cross-riscv64-binutils.spec | 10 +++++++++- cross-rx-binutils.changes | 5 +++++ cross-rx-binutils.spec | 10 +++++++++- cross-s390-binutils.changes | 5 +++++ cross-s390-binutils.spec | 10 +++++++++- cross-s390x-binutils.changes | 5 +++++ cross-s390x-binutils.spec | 10 +++++++++- cross-sparc-binutils.changes | 5 +++++ cross-sparc-binutils.spec | 10 +++++++++- cross-sparc64-binutils.changes | 5 +++++ cross-sparc64-binutils.spec | 10 +++++++++- cross-spu-binutils.changes | 5 +++++ cross-spu-binutils.spec | 10 +++++++++- cross-x86_64-binutils.changes | 5 +++++ cross-x86_64-binutils.spec | 10 +++++++++- 44 files changed, 308 insertions(+), 22 deletions(-) diff --git a/binutils.changes b/binutils.changes index 90d4131..4f585c5 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/binutils.spec b/binutils.spec index fd0aa6c..5624ce8 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,7 +1,7 @@ # # spec file for package binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -399,6 +399,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 7b2618c..d65cab5 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-aarch64-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index f28b74a..5b14d98 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index bb9b8d0..6262ea3 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-avr-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 67a49aa..7fb20ec 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-epiphany-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index b6c6a8f..5f78cdc 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 4533b9a..845f1e9 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa64-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 1d108c3..06fcf75 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-i386-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 9e4019d..e15d6d3 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ia64-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 9b01936..c9eb2b0 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-m68k-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index decde88..9b55564 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-mips-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 946c725..6529409 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 54197c5..0ad94de 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 31285d0..f79ef9b 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64le-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index 4e93842..235b7dc 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-riscv64-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index 5e5a681..6a7011a 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-rx-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 1efd3b0..8fed2d9 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index a0a1540..c76ad1a 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390x-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index bdc181a..5f42297 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index f9d7f66..305ba85 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc64-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index adcc0e2..f27f626 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-spu-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 90d4131..4f585c5 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 17 11:28:03 UTC 2018 - afaerber@suse.de + +- Add arm-none-eabi symlinks (bsc#1074741) + ------------------------------------------------------------------- Mon Oct 2 19:29:22 UTC 2017 - matz@suse.com diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index ea597f4..ce9e5af 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-x86_64-binutils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -402,6 +402,14 @@ T=$(basename %buildroot/usr/%{TARGET_OS}) for f in %buildroot/usr/$T/bin/* ; do ln -sf /usr/bin/$T-$(basename $f) $f done +%if "%{TARGET}" == "arm" +# Instead of building duplicate binutils, add symlinks +for f in %buildroot/usr/$T/bin/* ; do + for p in arm-none-eabi; do + ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f) + done +done +%endif %if "%{TARGET}" == "avr" install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as