From 8cc5caf78ede04748306cc1a587752080331e77c Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Wed, 16 Oct 2013 23:40:12 +0000 Subject: Switched to debian/clean for cleaning instead of using debian/rules --- debian/changelog | 4 +++- debian/clean | 2 ++ debian/rules | 6 ------ 3 files changed, 5 insertions(+), 7 deletions(-) create mode 100644 debian/clean diff --git a/debian/changelog b/debian/changelog index 8963d17..085f5f1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ python-urllib3 (1.7.1-1) UNRELEASED; urgency=low * New upstream release * Switched to pybuild + * debian/clean + - Switched to debian/clean for cleaning instead of using debian/rules * debian/compat - Bumped debhelper compatibility level to 9 * debian/control @@ -18,7 +20,7 @@ python-urllib3 (1.7.1-1) UNRELEASED; urgency=low * debian/patches/06_fix_abuse_of_match_hostname_for_DoS.patch - Removed since fixed upstream - -- Daniele Tricoli Wed, 16 Oct 2013 22:26:05 +0200 + -- Daniele Tricoli Thu, 17 Oct 2013 01:37:24 +0200 python-urllib3 (1.6-2) unstable; urgency=high diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..5202946 --- /dev/null +++ b/debian/clean @@ -0,0 +1,2 @@ +urllib3.egg-info/* +.coverage diff --git a/debian/rules b/debian/rules index 33e5b40..73c204c 100755 --- a/debian/rules +++ b/debian/rules @@ -11,12 +11,6 @@ export PYBUILD_DESTDIR_python3=debian/python3-urllib3/ override_dh_auto_configure: rm -f urllib3/packages/six.py -override_dh_auto_clean: - rm -rf build - rm -f .coverage - rm -rf *.egg-info - dh_auto_clean - override_dh_auto_install: dh_auto_install # Remove dummyserver/ tests to not pollute namespace. -- cgit v1.2.3