[med-svn] [python-avro] 01/14: Fix the "clean" target since python3 setup.py clean is inadequate

Afif Elghraoui afif-guest at moszumanska.debian.org
Sun Oct 25 00:46:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

afif-guest pushed a commit to branch master
in repository python-avro.

commit baa6c9619c62d39a0e160abef136f320d12f698a
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sat Oct 24 13:54:07 2015 -0700

    Fix the "clean" target since python3 setup.py clean is inadequate
    
    This removes the need for a debian-changes patch as well.
---
 debian/rules          | 10 ++++++++++
 debian/source/options |  1 -
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 1b0f4d2..37c524e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,3 +61,13 @@ override_dh_auto_test:
 override_dh_install:
 	rm -f debian/python-avro/usr/bin/avro
 	dh_install
+
+override_dh_auto_clean:
+	dh_auto_clean
+# The python3 package doesn't clean up after itself properly
+	$(RM)					\
+		README.txt			\
+		avro/HandshakeRequest.avsc	\
+		avro/HandshakeResponse.avsc	\
+		avro/VERSION.txt		\
+		avro/tests/interop.avsc
diff --git a/debian/source/options b/debian/source/options
deleted file mode 100644
index 7423a2d..0000000
--- a/debian/source/options
+++ /dev/null
@@ -1 +0,0 @@
-single-debian-patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-avro.git



More information about the debian-med-commit mailing list