summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-06-08 04:45:07 +1200
committerLars Wirzenius <liw@liw.fi>2010-06-08 04:45:07 +1200
commit3b570cc2edaa880a915fc3fb2cf4cf338396d48b (patch)
tree7b28abfd013328f29d1179e42b00d9631488bc9c
parent0ce7e52817147e101f158f8fce7488e45e9a622d (diff)
downloadpython-ttystatus-3b570cc2edaa880a915fc3fb2cf4cf338396d48b.tar.gz
Add check that setup.py and debian/changelog versions match.
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules7
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 881ecdd..5779589 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Maintainer: Lars Wirzenius <liw@liw.fi>
Section: python
Priority: optional
Standards-Version: 3.8.4
-Build-Depends: debhelper (>= 7.3.8), python-support (>= 1.0.3), python (>= 2.5)
+Build-Depends: debhelper (>= 7.3.8), python-support (>= 1.0.3),
+ python (>= 2.5), extrautils
Package: python-ttystatus
Architecture: all
diff --git a/debian/rules b/debian/rules
index 2befbe5..2cccef3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,4 +3,9 @@
dh $@ --with-buildsystem=python_distutils
override_dh_auto_install:
- python setup.py install --prefix=debian/#FIXME/usr
+ python setup.py install --prefix=debian/ttystatus/usr
+
+override_dh_auto_build:
+ setuppy-debian-versions-match
+ dh_auto_build $@ --with-buildsystem=python_distutils
+