From 259d0160ec51744098d351b230c8f8c2c65aa1e285991aa131c45ed0ed073d45 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 15 Jan 2015 10:22:03 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=175 --- binutils.spec | 4 ++++ cross-aarch64-binutils.spec | 4 ++++ cross-arm-binutils.spec | 4 ++++ cross-avr-binutils.spec | 4 ++++ cross-epiphany-binutils.spec | 4 ++++ cross-hppa-binutils.spec | 4 ++++ cross-hppa64-binutils.spec | 4 ++++ cross-i386-binutils.spec | 4 ++++ cross-ia64-binutils.spec | 4 ++++ cross-m68k-binutils.spec | 4 ++++ cross-mips-binutils.spec | 4 ++++ cross-ppc-binutils.spec | 4 ++++ cross-ppc64-binutils.spec | 4 ++++ cross-ppc64le-binutils.spec | 4 ++++ cross-s390-binutils.spec | 4 ++++ cross-s390x-binutils.spec | 4 ++++ cross-sparc-binutils.spec | 4 ++++ cross-sparc64-binutils.spec | 4 ++++ cross-spu-binutils.spec | 4 ++++ cross-x86_64-binutils.spec | 4 ++++ 20 files changed, 80 insertions(+) diff --git a/binutils.spec b/binutils.spec index c651fe9..ccdffe9 100644 --- a/binutils.spec +++ b/binutils.spec @@ -336,6 +336,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 1cfb034..cc469a7 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 359afd7..7434fff 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 6cbb492..45e9ad8 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index 978363c..7576e1c 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 4cf221a..7cb0442 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 400c55b..d710171 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index aeb1366..c7d3b87 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index b27b483..fa7fd0c 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 3d6adf1..e7d1db0 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index a4efc20..fbc9b10 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 862f6fc..d61f069 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 9bcf37d..4f4ab76 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index bd2d935..00e182d 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 3d95ff7..345e152 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 5802311..a2201ab 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index fe2bcae..8e06e16 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 862f852..b7cd882 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 9488fb2..640627b 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 1af9b23..56c7bef 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -339,6 +339,10 @@ else rm -f "%buildroot/%_bindir/ld"; fi mkdir -p "%buildroot/%_sysconfdir/alternatives"; +# Keep older versions of brp-symlink happy +%if %{suse_version} < 1310 +ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld" +%endif ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld"; rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin