[libdata-objectdriver-perl] 15/17: debian/rules: move incompatible inc/Test/Builder.pm out of the way

gregor herrmann gregoa at debian.org
Fri Jul 11 17:49:08 UTC 2014


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

gregoa pushed a commit to branch master
in repository libdata-objectdriver-perl.

commit 4274ab6b442aa2448067d5aa527e6ab5ae29af49
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jul 11 19:42:10 2014 +0200

    debian/rules: move incompatible inc/Test/Builder.pm out of the way
    
    before running tests.
    
    Closes: #752923
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..9a9e564 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,14 @@
 #!/usr/bin/make -f
 
+BADFILE=inc/Test/Builder.pm
+
 %:
 	dh $@
+
+override_dh_auto_clean:
+	[ ! -f $(CURDIR)/$(BADFILE).broken ] || mv -v $(CURDIR)/$(BADFILE).broken $(CURDIR)/$(BADFILE)
+	dh_auto_clean
+
+override_dh_auto_test:
+	[ ! -f $(CURDIR)/$(BADFILE) ] || mv -v $(CURDIR)/$(BADFILE) $(CURDIR)/$(BADFILE).broken
+	dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-objectdriver-perl.git



More information about the Pkg-perl-cvs-commits mailing list