[binutils/f15] Run "alternatives --auto" to restore ld symbolic link if it was manually configured. (BZ 661247)

Nicholas Clifton nickc at fedoraproject.org
Fri Jun 24 10:00:50 UTC 2011


commit 5704920afd069225c3f199127a0451ef33a898d8
Author: Nick Clifton <nickc at BigChill.(none)>
Date:   Fri Jun 24 10:59:57 2011 +0100

    Run "alternatives --auto" to restore ld symbolic link if it was manually configured.  (BZ 661247)

 binutils.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/binutils.spec b/binutils.spec
index 2f6f2fe..22b327c 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -17,7 +17,7 @@
 Summary: A GNU collection of binary utilities
 Name: %{?cross}binutils%{?_with_debug:-debug}
 Version: 2.21.51.0.6
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPLv3+
 Group: Development/Tools
 URL: http://sources.redhat.com/binutils
@@ -346,6 +346,7 @@ rm -rf %{buildroot}
   %{_bindir}/%{?cross}ld.bfd %{ld_bfd_priority}
 %{_sbindir}/alternatives --install %{_bindir}/%{?cross}ld %{?cross}ld \
   %{_bindir}/%{?cross}ld.gold %{ld_gold_priority}
+%{_sbindir}/alternatives --auto %{?cross}ld 
 %endif
 %if %{isnative}
 /sbin/ldconfig
@@ -420,6 +421,9 @@ exit 0
 %endif # %{isnative}
 
 %changelog
+* Fri Jun  24 2011 Nick Clifton <nickc at redhat.com> - 2.21.51.0.6-5
+- Run "alternatives --auto" to restore ld symbolic link if it was manually configured.  (BZ 661247)
+
 * Fri Jun  10 2011 Nick Clifton <nickc at redhat.com> - 2.21.51.0.6-4
 - Add check for dynamic sections misrepresented as notes.  (BZ 712166)
 


More information about the scm-commits mailing list