Package: libelf Severity: normal Tags: patch Hi,
the libelf package still put symlinks in /usr/doc, although this is now deprecated. Please apply the attached patch, which removes the symlink creation code from the packages' postinsts (debian/dev.postinst did nothing else, so it can be removed). Thanks, Julien Cristau -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.10 Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
diff -Nru libelf-0.8.5.orig/debian/dev.postinst libelf-0.8.5/debian/dev.postinst --- libelf-0.8.5.orig/debian/dev.postinst 2005-08-12 21:19:01.297224534 +0200 +++ libelf-0.8.5/debian/dev.postinst 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -PACKAGE=`basename $0 .postinst` -if [ "$1" = "configure" ]; then - if [ -d /usr/doc -a ! -e /usr/doc/${PACKAGE} -a -d /usr/share/doc/${PACKAGE} ]; then - ln -sf ../share/doc/${PACKAGE} /usr/doc/${PACKAGE} - fi -fi - diff -Nru libelf-0.8.5.orig/debian/rules libelf-0.8.5/debian/rules --- libelf-0.8.5.orig/debian/rules 2005-08-12 21:19:01.296224718 +0200 +++ libelf-0.8.5/debian/rules 2005-08-12 21:25:29.115804951 +0200 @@ -97,7 +97,6 @@ install -m 644 debian/changelog \ debian/tmp-dev/usr/share/doc/$(packageg)-dev/changelog.Debian gzip -9 debian/tmp-dev/usr/share/doc/$(packageg)-dev/changelog.Debian - install -m 755 debian/dev.postinst debian/tmp-dev/DEBIAN/postinst install -m 755 debian/dev.prerm debian/tmp-dev/DEBIAN/prerm install -m 644 debian/copyright debian/tmp-dev/usr/share/doc/$(packageg)-dev/ dpkg-gencontrol -isp -Pdebian/tmp-dev -plibelfg$(MAJOR)-dev diff -Nru libelf-0.8.5.orig/debian/shd.postinst libelf-0.8.5/debian/shd.postinst --- libelf-0.8.5.orig/debian/shd.postinst 2005-08-12 21:19:01.297224534 +0200 +++ libelf-0.8.5/debian/shd.postinst 2005-08-12 21:19:55.749196812 +0200 @@ -4,9 +4,4 @@ if [ "$1" = "configure" ]; then ldconfig - - if [ -d /usr/doc -a ! -e /usr/doc/libelfg0 \ - -a -d /usr/share/doc/libelfg0 ]; then - ln -sf ../share/doc/libelfg0 /usr/doc/libelfg0 - fi fi
signature.asc
Description: Digital signature