r27327 - /trunk/dh-make-perl/dh-make-perl
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Thu Nov 27 08:34:06 UTC 2008
Author: dmn
Date: Thu Nov 27 08:34:04 2008
New Revision: 27327
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27327
Log:
AptContents: allow arch-less and uncompressed contents files
we need an uncompressed Contents file without an architecture component
for the tests (test_debian_dists_sid_Contents)
Modified:
trunk/dh-make-perl/dh-make-perl
Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/dh-make-perl?rev=27327&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Thu Nov 27 08:34:04 2008
@@ -134,7 +134,7 @@
my $archspec = `dpkg --print-architecture`;
chomp($archspec);
- my $pattern = catfile( $self->contents_dir, "*_debian_dists_{unstable,sid}_Contents-$archspec.gz" );
+ my $pattern = catfile( $self->contents_dir, "*_debian_dists_{unstable,sid}_Contents{,-$archspec}{,.gz}" );
return [ sort glob $pattern ];
}
More information about the Pkg-perl-cvs-commits
mailing list