[dh-make-perl] 02/03: guess upstream tarball only if we'd need it for pristine-tar

Damyan Ivanov dmn at alioth.debian.org
Fri Aug 9 09:55:58 UTC 2013


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

dmn pushed a commit to branch master
in repository dh-make-perl.

commit 2f9411f8d38153ec531c8956cded041a1546b296
Author: Damyan Ivanov <dmn at debian.org>
Date:   Fri Aug 9 11:53:51 2013 +0200

    guess upstream tarball only if we'd need it for pristine-tar
---
 lib/DhMakePerl/Command/make.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index a98d398..432829f 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -81,7 +81,7 @@ sub execute {
 
     $self->extract_basic();
 
-    $tarball //= $self->guess_tarball;
+    $tarball //= $self->guess_tarball if $self->cfg->{vcs} eq 'git';
 
     unless ( defined $self->cfg->version ) {
         $self->pkgversion( $self->version . '-1' );

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



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