r6962 - in /trunk/dh-make-perl: debian/changelog dh-make-perl
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Mon Aug 20 05:51:36 UTC 2007
Author: dmn
Date: Mon Aug 20 05:51:36 2007
New Revision: 6962
URL: http://svn.debian.org/wsvn/?sc=1&rev=6962
Log:
* Add new option "--pkg-perl" which adds some functionality useful when
packages are created for the Debian Perl Group. Currently adds XS-Vcs-*
fields to debian/control and sets the Maintainer and Uploaders fields
accordingly
Modified:
trunk/dh-make-perl/debian/changelog
trunk/dh-make-perl/dh-make-perl
Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/dh-make-perl/debian/changelog?rev=6962&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Mon Aug 20 05:51:36 2007
@@ -16,8 +16,12 @@
* Move tests from install to build target
* better explaination in binary-arch target for arch-indep packages and in
binary-indep target of arch-dep packages why the target is empty
-
- -- Damyan Ivanov <dmn at debian.org> Fri, 17 Aug 2007 21:58:18 +0300
+ * Add new option "--pkg-perl" which adds some functionality useful when
+ packages are created for the Debian Perl Group. Currently adds XS-Vcs-*
+ fields to debian/control and sets the Maintainer and Uploaders fields
+ accordingly
+
+ -- Damyan Ivanov <dmn at debian.org> Mon, 20 Aug 2007 08:51:27 +0300
dh-make-perl (0.27) unstable; urgency=low
Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/trunk/dh-make-perl/dh-make-perl?rev=6962&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Mon Aug 20 05:51:36 2007
@@ -128,7 +128,7 @@
'build!', 'core-ok', 'cpan=s', 'cpanplus=s',
'cpan-mirror=s', 'dbflags=s', 'depends=s', 'desc=s',
'exclude|i:s{,}', 'help', 'install!', 'nometa', 'notest',
- 'requiredeps', 'version=s') or die usage_instructions();
+ 'pkg-perl!', 'requiredeps', 'version=s') or die usage_instructions();
@stdmodules = get_stdmodules();
@@ -802,8 +802,20 @@
$fh->print("Build-Depends: $bdepends\n") if $bdepends;
$fh->print("Build-Depends-Indep: $bdependsi\n") if $bdependsi;
$fh->print($extrasfields) if defined $extrasfields;
- $fh->print("Maintainer: $maintainer\n");
+ if( $opts{'pkg-perl'} )
+ {
+ $fh->print("Maintainer: Debian Perl Group <pkg-perl-maintainers\@lists.alioth.debian.org>\n");
+ $fh->print("Uploaders: $maintainer\n");
+ }
+ else
+ {
+ $fh->print("Maintainer: $maintainer\n");
+ }
$fh->print("Standards-Version: $debstdversion\n");
+ do {
+ $fh->print("XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/$srcname/\n");
+ $fh->print("XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/$srcname/\n");
+ } if $opts{'pkg-perl'};
$fh->print("\n");
$fh->print("Package: $pkgname\n");
$fh->print("Architecture: $arch\n");
More information about the Pkg-perl-cvs-commits
mailing list