summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-04-26 10:17:09 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-04-26 10:17:09 +0200
commit0e8fd33b1b741cc65c284a08faa50b3a2995ac3c (patch)
treeef83cdce0261661c21f588edbe838acf47166d3c /debian/rules
parent1f1cc6179cd9c7f15231a4d082fdbf374ad7cace (diff)
downloadpython-apt-0e8fd33b1b741cc65c284a08faa50b3a2995ac3c.tar.gz
* debian/compat:
- debhelper compat level set to 5 * debian/changelog: - merged the changelog from the NMU * debian/control: - merged the changes from the NMU - set standards version to 3.6.2.0 * debian/rules: - fix arch-build target * setup.py: - simplify the patch magling by using map() instead of "for i in range()"
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 1 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 0ab6fa27..584abdf5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,6 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
-
DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
@@ -83,7 +80,7 @@ source diff:
arch-build:
rm -rf debian/arch-build
mkdir -p debian/arch-build/python-apt-$(DEBVER)
- baz inventory -s | xargs cp -a --parents --target=debian/arch-build/python-apt-$(DEBVER)
+ tar -c --exclude=arch-build --no-recursion -f - `bzr inventory` | (cd debian/arch-build/python-apt-$(DEBVER);tar xf -)
(cd debian/arch-build/python-apt-$(DEBVER); $(DEB_BUILD_PROG))
binary: binary-indep binary-arch