summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-03-20 18:52:36 +1300
committerLars Wirzenius <liw@liw.fi>2010-03-20 18:52:36 +1300
commit96b9285fcd689f9fa47bbef1d7c5db2ac2e7e130 (patch)
treec817196ebe46fecd6efcb951afbfa6971e6b09f2 /debian
parent80fafc9cc5d66a5bf5209db012f9a58412eda22b (diff)
downloadgenbackupdata-96b9285fcd689f9fa47bbef1d7c5db2ac2e7e130.tar.gz
Convert packaging to be native, and use dh.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/compat2
-rw-r--r--debian/control5
-rw-r--r--debian/install1
-rwxr-xr-xdebian/rules15
5 files changed, 10 insertions, 14 deletions
diff --git a/debian/changelog b/debian/changelog
index 50cad21..fd2f995 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
genbackupdata (1.1) karmic; urgency=low
* New upstream version.
+ * Convert packaging to be native, and use dh.
-- Lars Wirzenius <liw@liw.fi> Sat, 20 Mar 2010 18:44:05 +1300
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index 3c3b5c0..0f63470 100644
--- a/debian/control
+++ b/debian/control
@@ -3,13 +3,12 @@ Maintainer: Lars Wirzenius <liw@iki.fi>
Section: devel
Priority: optional
Standards-Version: 3.7.2
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.38),
- python-central (>= 0.5.6), python
+Build-Depends: debhelper (>= 7.3.8), python-support (>= 1.0.3), python (>= 2.5)
XS-Python-Version: all
Package: genbackupdata
Architecture: all
-Depends: ${python:Depends}
+Depends: ${python:Depends}, ${misc:Depends}
XB-Python-Version: ${python:Versions}
Description: generate test data sets for backup software
genbackupdata creates or modifies directory trees in ways that simulate
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..19bf924
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+genbackupdata.1 usr/share/man/man1
diff --git a/debian/rules b/debian/rules
index f3783d2..48a507c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,8 @@
#!/usr/bin/make -f
+%:
+ dh $@ --buildsystem=python_distutils
-DEB_PYTHON_SYSTEM=pycentral
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-
-binary-install/genbackupdata::
- install -m 0644 genbackupdata.1 \
- debian/genbackupdata/usr/share/man/man1
-
-clean::
+override_dh_auto_clean:
$(MAKE) clean
+ dh_auto_clean --buildsystem=python_distutils
+