Package: linkchecker Version: 4.9-1 Please consider dropping the dependency on versioned python package so we can sync with ubuntu next time. Thanks :)
diff -Nru linkchecker-4.9/debian/rules linkchecker-4.9/debian/rules --- linkchecker-4.9/debian/rules 2008-04-25 17:43:06.000000000 +0200 +++ linkchecker-4.9/debian/rules 2008-05-09 19:43:33.000000000 +0200 @@ -42,3 +42,22 @@ # install .mo files install -m 644 build/share/locale/de/LC_MESSAGES/linkchecker.mo $(LOCALE)/de/LC_MESSAGES/ + : # Replace all '#!' calls to python with /usr/bin/python + : # and make them executable + for i in `find debian/linkchecker -type f`; do \ + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ + $$i > $$i.temp; \ + if cmp --quiet $$i $$i.temp; then \ + rm -f $$i.temp; \ + else \ + mv -f $$i.temp $$i; \ + chmod 755 $$i; \ + echo "fixed interpreter: $$i"; \ + fi; \ + done + +binary-post-install/linkchecker:: +# remove the README file which somehow gets installed + rm $(DOCDIR)/README + +