r52953 - in /trunk/dh-make-perl: debian/changelog dh-make-perl lib/DhMakePerl/Config.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Feb 17 18:36:21 UTC 2010


Author: dmn
Date: Wed Feb 17 18:36:10 2010
New Revision: 52953

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=52953
Log:
add --source-format option (defaults to "1.0")

Modified:
    trunk/dh-make-perl/debian/changelog
    trunk/dh-make-perl/dh-make-perl
    trunk/dh-make-perl/lib/DhMakePerl/Config.pm

Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=52953&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Wed Feb 17 18:36:10 2010
@@ -14,6 +14,7 @@
   * rewrite get_itp() as get_wnpp()
     + looks for all kinds of WNPP bugs
     + uses the lists on http://www.debian.org/devel/wnpp
+  * add --source-format option (defaults to "1.0")
 
  -- Damyan Ivanov <dmn at debian.org>  Fri, 05 Feb 2010 09:05:25 +0200
 

Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/dh-make-perl?rev=52953&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Wed Feb 17 18:36:10 2010
@@ -310,6 +310,11 @@
 Fail if a dependency Perl package was not found (dependency tracking
 requires the apt-file package installed and updated)
 
+=item B<--source-format> I<format>
+
+When creating or refreshing packaging, use the specified source format.
+Defaults to C<1.0>.
+
 =item B<--sources-list> I<FILE>
 
 Instruct the C<Contents> file parser to use this B<file> when determining if a

Modified: trunk/dh-make-perl/lib/DhMakePerl/Config.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Config.pm?rev=52953&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Config.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Config.pm Wed Feb 17 18:36:10 2010
@@ -31,6 +31,7 @@
     'only|o=s@',
     'packagename|p=s', 'pkg-perl!',
     'requiredeps',     'sources-list=s',
+    'source-format=s',
     'verbose!',        'version=s',
 );
 
@@ -58,17 +59,18 @@
 use YAML        ();
 
 use constant DEFAULTS => {
-    backups      => 1,
-    data_dir     => '/usr/share/dh-make-perl',
-    dbflags      => ( $> == 0 ? "" : "-rfakeroot" ),
-    dh           => 7,
-    dist         => '',
-    email        => '',
-    exclude      => qr/$Dpkg::Source::Package::diff_ignore_default_regexp/,
-    home_dir     => "$ENV{HOME}/.dh-make-perl",
-    network      => 1,
-    only         => ['control', 'copyright', 'docs', 'examples', 'rules'],
-    verbose      => 1,
+    backups       => 1,
+    data_dir      => '/usr/share/dh-make-perl',
+    dbflags       => ( $> == 0 ? "" : "-rfakeroot" ),
+    dh            => 7,
+    dist          => '',
+    email         => '',
+    exclude       => qr/$Dpkg::Source::Package::diff_ignore_default_regexp/,
+    home_dir      => "$ENV{HOME}/.dh-make-perl",
+    network       => 1,
+    only          => [ 'control', 'copyright', 'docs', 'examples', 'rules' ],
+    source_format => '1.0',
+    verbose       => 1,
 };
 
 use constant cpan2deb_DEFAULTS => {




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