[med-svn] [python-pysam] 09/10: Remove unnecessary rule override in d/rules

Afif Elghraoui afif-guest at moszumanska.debian.org
Thu Nov 12 09:09:14 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-pysam.

commit 90b30c369648bd46df9e51e7293881703f3dd544
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Wed Nov 11 23:23:14 2015 -0800

    Remove unnecessary rule override in d/rules
    
    Adding a prerequisite to the clean target doesn't require adding
    a dh_override_target
---
 debian/rules | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index d3ac32d..fba8637 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,15 +15,13 @@ export PYBUILD_TEST_ARGS={dir}/tests
 
 # DEB_BUILD_OPTIONS := nocheck
 
+clean: clean-tests
 %:
 	LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_install: clean-tests
 	dh_install -Xtest.gtf.gz
 
-override_dh_auto_clean: clean-tests
-	dh_auto_clean
-
 override_dh_auto_test:
 	cd tests && make -C pysam_data
 	# dh_auto_test	# unfortunately this does not work out of the box

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



More information about the debian-med-commit mailing list