user debian-pyt...@lists.debian.org
usertags python2.6
thanks

With that (poorly formed) patch, linkchecker{-gui} still depends on
python2.5 due to shebangs.
Here's an improved patch (with some clean improvements thrown in).

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
--- linkchecker-5.2.orig/debian/linkchecker.install
+++ linkchecker-5.2/debian/linkchecker.install
@@ -3,14 +3,14 @@
 usr/share/man/man5/linkcheckerrc.5
 usr/share/man/de/man1/linkchecker.1
 usr/share/man/de/man5/linkcheckerrc.5
-usr/lib/python2.5/site-packages/_LinkChecker_configdata.py
-usr/lib/python2.5/site-packages/linkcheck/*.py
-usr/lib/python2.5/site-packages/linkcheck/HtmlParser
-usr/lib/python2.5/site-packages/linkcheck/cache
-usr/lib/python2.5/site-packages/linkcheck/checker
-usr/lib/python2.5/site-packages/linkcheck/configuration
-usr/lib/python2.5/site-packages/linkcheck/director
-usr/lib/python2.5/site-packages/linkcheck/dns
-usr/lib/python2.5/site-packages/linkcheck/htmlutil
-usr/lib/python2.5/site-packages/linkcheck/logger
-usr/lib/python2.5/site-packages/linkcheck/network
+usr/lib/python*/*-packages/_LinkChecker_configdata.py
+usr/lib/python*/*-packages/linkcheck/*.py
+usr/lib/python*/*-packages/linkcheck/HtmlParser
+usr/lib/python*/*-packages/linkcheck/cache
+usr/lib/python*/*-packages/linkcheck/checker
+usr/lib/python*/*-packages/linkcheck/configuration
+usr/lib/python*/*-packages/linkcheck/director
+usr/lib/python*/*-packages/linkcheck/dns
+usr/lib/python*/*-packages/linkcheck/htmlutil
+usr/lib/python*/*-packages/linkcheck/logger
+usr/lib/python*/*-packages/linkcheck/network
only in patch2:
unchanged:
--- linkchecker-5.2.orig/debian/rules
+++ linkchecker-5.2/debian/rules
@@ -42,3 +42,10 @@
 	install -m 644 build/share/locale/de/LC_MESSAGES/LinkChecker.mo $(LOCALE)/de/LC_MESSAGES/
 # apache configuration
 	install -m 644 config/linkchecker.apache2.conf $(ETC)/apache2/conf.d/linkchecker
+
+clean::
+	rm -f doc/html/*.qch doc/html/*.qhc
+	rm -f _LinkChecker_configdata.py
+
+common-binary-arch::
+	sed -i '1s,#!/usr/bin/python2\..,#!/usr/bin/python,' $(CURDIR)/debian/tmp/usr/bin/*
only in patch2:
unchanged:
--- linkchecker-5.2.orig/debian/linkchecker-gui.install
+++ linkchecker-5.2/debian/linkchecker-gui.install
@@ -1,5 +1,5 @@
 usr/bin/linkchecker-gui
-usr/lib/python2.5/site-packages/linkcheck/gui
+usr/lib/python*/*-packages/linkcheck/gui
 usr/share/man/man1/linkchecker-gui.1
 usr/share/man/de/man1/linkchecker-gui.1
 usr/share/linkchecker/lccollection.qhc

Attachment: signature.asc
Description: Digital signature

Reply via email to