Accepting request 280994 from home:dimstar:branches:devel:gcc

- Minor fix on the usage of update-alternatives
  https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines

OBS-URL: https://build.opensuse.org/request/show/280994
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=173
This commit is contained in:
Richard Biener 2015-01-14 09:49:35 +00:00 committed by Git OBS Bridge
parent 94693ac819
commit 5ea8d7b458
40 changed files with 140 additions and 40 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -336,7 +336,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-aarch64-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-arm-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-avr-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-epiphany-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-hppa-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-hppa64-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-i386-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ia64-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-m68k-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-mips-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc64-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc64le-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-s390-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-s390x-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-sparc-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-sparc64-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-spu-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 12 20:26:26 UTC 2015 - dimstar@opensuse.org
- Minor fix on the usage of update-alternatives
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-x86_64-binutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -339,7 +339,6 @@ else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin