From b1f13ae7c0af3ac78a4a97e19816e2524f87311b Mon Sep 17 00:00:00 2001 From: Chris Lawrence Date: Fri, 26 Aug 2011 16:25:30 -0400 Subject: [PATCH] lsb 3.2-28 Debian release. --- debian/changelog | 7 +++++++ debian/postinst | 6 ++++-- debian/prerm | 2 +- debian/rules | 3 +++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index b68e64d..b62610e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +lsb (3.2-28) unstable; urgency=low + + * Fix symlinks for AMD64. (Closes: #638450) + * Please note the RFA/ITA for this package (#616131). + + -- Chris Lawrence Fri, 26 Aug 2011 16:25:30 -0400 + lsb (3.2-27) unstable; urgency=low * Track down another use of dpkg --print-installation-architecture. diff --git a/debian/postinst b/debian/postinst index 3652152..cb86233 100755 --- a/debian/postinst +++ b/debian/postinst @@ -22,8 +22,10 @@ setup_ldso_symlink () { ln -sf ld-linux.so.2 /lib/ld-lsb.so.1 ln -sf ld-linux.so.2 /lib/ld-lsb.so.2 ln -sf ld-linux.so.2 /lib/ld-lsb.so.3 - ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.2 - ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 + ln -sf ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.2 + ln -sf ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 + [ -L /lib/ld-lsb-x86-64.so.2 ] && rm /lib/ld-lsb-x86-64.so.2 || true + [ -L /lib/ld-lsb-x86-64.so.3 ] && rm /lib/ld-lsb-x86-64.so.3 || true ;; ia64) ln -sf ld-linux-ia64.so.2 /lib/ld-lsb-ia64.so.1 diff --git a/debian/prerm b/debian/prerm index fb33522..0740b5b 100644 --- a/debian/prerm +++ b/debian/prerm @@ -13,7 +13,7 @@ remove_ldso_symlink () { rm -f /lib/ld-lsb.so.[123] ;; amd64) - rm -f /lib/ld-lsb.so.[123] /lib64/ld-lsb-x86-64.so.2 + rm -f /lib/ld-lsb.so.[123] /lib64/ld-lsb-x86-64.so.[23] /lib/ld-lsb-x86-64.so.[23] ;; *) echo "ld-lsb-*.so.1 symlink for $ARCH is unknown; not removed." diff --git a/debian/rules b/debian/rules index b297057..257144e 100755 --- a/debian/rules +++ b/debian/rules @@ -28,6 +28,9 @@ lsbarch=ppc32 endif LIBC=libc6 (>> 2.3.5) +ifeq (${lsbarch}, amd64) +LIBC=libc6 (>= 2.13-17) +endif ifeq (${lsbarch}, hurd-i386) LIBC=libc0.3 (>> 2.3.5) endif -- 2.30.2