diff -u qterm-0.4.0/debian/control qterm-0.4.0/debian/control
--- qterm-0.4.0/debian/control
+++ qterm-0.4.0/debian/control
@@ -7,10 +7,12 @@
  libqt3-mt-dev, libqt3-compat-headers, xutils, python-dev,
  libssl-dev (>= 0.9.8a-4), libesd0-dev, libarts1-dev, dpatch
 Standards-Version: 3.7.2
+XS-Python-Version: current
 
 Package: qterm
 Architecture: any
 Depends: ${shlibs:Depends}
+XB-Python-Version: ${python:Versions}
 Description: BBS client for X Window System written in Qt
  QTerm is a BBS client for X Window System. It supports telnet and ssh1
  protocols. It also supports zmodem, URL detect, mouse action.
diff -u qterm-0.4.0/debian/rules qterm-0.4.0/debian/rules
--- qterm-0.4.0/debian/rules
+++ qterm-0.4.0/debian/rules
@@ -21,5 +21,6 @@
 	  mv -f qterm/po/qterm_chs.ts.bak qterm/po/qterm_chs.ts; fi
 	if test -a qterm/po/qterm_cht.ts.bak; then \
-	  mv -f qterm/po/qterm_chs.ts.bak qterm/po/qterm_cht.ts; fi
+	  mv -f qterm/po/qterm_cht.ts.bak qterm/po/qterm_cht.ts; fi
+	rm -f subdirs
 
 unpatch: deapply-dpatches
diff -u qterm-0.4.0/debian/changelog qterm-0.4.0/debian/changelog
--- qterm-0.4.0/debian/changelog
+++ qterm-0.4.0/debian/changelog
@@ -1,3 +1,12 @@
+qterm (1:0.4.0-3) unstable; urgency=low
+
+  * rules: 
+    - fix typo, chs->cht
+    - clean: add 'rm -f subdirs'
+  * control: add XS-Python-Version XB-Python-Version (closes: #380925)
+
+ -- LI Daobing <lidaobing@gmail.com>  Tue,  1 Aug 2006 21:02:47 +0800
+
 qterm (1:0.4.0-2) unstable; urgency=low
 
   * set ygh as the uploader.

