[python-shapely] 05/14: Use dh_clean to additional file removals.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Aug 28 14:21:44 UTC 2015


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

sebastic pushed a commit to branch master
in repository python-shapely.

commit 3c68967d880c803316b36afd82ecb705493980f2
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Aug 28 14:40:58 2015 +0200

    Use dh_clean to additional file removals.
---
 debian/changelog |  1 +
 debian/rules     | 13 ++++++-------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7318bee..6c364dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ python-shapely (1.5.9-2) UNRELEASED; urgency=medium
     - Update Source URL for GitHub releases
     - Change CC-BY shortname to CC-BY-3.0
     - Add license & copyright for ftools.py
+  * Use dh_clean to additional file removals.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 20 Aug 2015 19:55:25 +0200
 
diff --git a/debian/rules b/debian/rules
index 0a73abb..9b10617 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,13 +10,12 @@ export LC_ALL=C.UTF-8
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -f VERSION.txt
-	rm -f shapely/speedups/_speedups.c
-	rm -f shapely/vectorized/_vectorized.c
-	rm -f shapely/speedups/_speedups.so
-	rm -f Shapely.egg-info/*
+override_dh_clean:
+	dh_clean VERSION.txt \
+	         shapely/speedups/_speedups.c \
+	         shapely/speedups/_speedups.so \
+	         shapely/vectorized/_vectorized.c \
+	         Shapely.egg-info/*
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-shapely.git



More information about the Pkg-grass-devel mailing list