[glibc/f17] only deal with the arm linker compat hack on armhfp arches
Dennis Gilmore
ausil at fedoraproject.org
Tue Jun 12 00:32:37 UTC 2012
commit d5a26cf05e6c5d7683893c83b46c4603fbb818a0
Author: Dennis Gilmore <dennis at ausil.us>
Date: Mon Jun 11 19:32:33 2012 -0500
only deal with the arm linker compat hack on armhfp arches
- armsfp arches do not have a linker change
glibc.spec | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/glibc.spec b/glibc.spec
index 9206989..c28c9ad 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -28,7 +28,7 @@
Summary: The GNU libc libraries
Name: glibc
Version: %{glibcversion}
-Release: 45%{?dist}
+Release: 46%{?dist}
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
# Things that are linked directly into dynamically linked programs
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -219,7 +219,7 @@ Provides: rtld(GNU_HASH)
# This is a short term need until everything is rebuilt in the ARM world
# to use the new dynamic linker path
-%ifarch %{arm}
+%ifarch armv7hl armv7hnl
Provides: ld-linux.so.3
Provides: ld-linux.so.3(GLIBC_2.4)
%endif
@@ -969,9 +969,9 @@ ln -sf /%{_lib}/ld-linux-ia64.so.2 $RPM_BUILD_ROOT/lib/ld-linux-ia64.so.2
%endif
%endif
-# Leave a compatibility symlink for the dynamic loader on arm targets,
+# Leave a compatibility symlink for the dynamic loader on armhfp targets,
# at least until the world gets rebuilt
-%ifarch %{arm}
+%ifarch armv7hl armv7hnl
ln -sf /lib/ld-linux-armhf.so.3 $RPM_BUILD_ROOT/lib/ld-linux.so.3
%endif
@@ -1284,7 +1284,7 @@ rm -f *.filelist*
/lib/ld-linux-ia64.so.2
%endif
%endif
-%ifarch %{arm}
+%ifarch armv7hl armv7hnl
/lib/ld-linux.so.3
%endif
%verify(not md5 size mtime) %config(noreplace) /etc/localtime
@@ -1364,6 +1364,10 @@ rm -f *.filelist*
%endif
%changelog
+* Mon Jun 11 2012 Dennis Gilmore <dennis at ausil.us> - 2.15-46
+- only deal with the arm linker compat hack on armhfp arches
+- armsfp arches do not have a linker change
+
* Fri Jun 8 2012 Jeff Law <law at redhat.com> - 2.15.45
- Backward compat hack for armhf binaries.
More information about the scm-commits
mailing list