[SCM] Debian packaging of dh-make-perl branch, master, updated. debian/0.74-1-10-g0eec0e6
Damyan Ivanov
dmn at debian.org
Sun Sep 25 14:06:34 UTC 2011
The following commit has been merged in the master branch:
commit d1437059273f48742fc184aa1aa1914fc1bef135
Author: Damyan Ivanov <dmn at debian.org>
Date: Sun Sep 25 16:24:32 2011 +0300
when setting up Git repository, add remote only in --pkg-perl mode
diff --git a/debian/changelog b/debian/changelog
index 4d501d4..c3310a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
dh-make-perl (0.74-2) UNRELEASED; urgency=low
* setup Git repository in --vcs=git even without --pkg-perl
+ * when setting up Git repository, add remote only in --pkg-perl mode
-- Damyan Ivanov <dmn at debian.org> Sun, 25 Sep 2011 16:23:22 +0300
diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index 2446dbd..d477255 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -609,7 +609,7 @@ sub setup_git_repository {
qw( remote add origin ),
sprintf( "ssh://git.debian.org/git/pkg-perl/packages/%s.git",
$self->pkgname ),
- );
+ ) if $self->cfg->pkg_perl;
$ENV{GIT_DIR} = File::Spec->catdir( $self->main_dir, '.git' );
system( 'pristine-tar', 'commit', $tarball, "upstream/".$self->version ) >= 0
--
Debian packaging of dh-make-perl
More information about the Pkg-perl-cvs-commits
mailing list