One thing I forgot:

On Fri, Oct 05, 2007 at 07:16:13PM -0400, Joey Hess wrote:
> @@ -825,14 +881,17 @@ if ($opmode eq 'build') {
>      if ($native) {
>       warning(_g("multiple tarfiles in native package")) if @tarfiles > 1;
>       warning(_g("native package with .orig.tar"))
> -         unless $seen{'.tar'} or $seen{"-$revision.tar"};
> +         unless $seen{'.tar'} or $seen{"-$revision.tar"} or %vcsfiles;
>      } else {
> -     warning(_g("no upstream tarfile in Files field")) unless 
> $seen{'.orig.tar'};
> +     warning(_g("no upstream tarfile in Files field")) unless 
> $seen{'.orig.tar'} or %vcsfiles;

This should probably error out. Aren't v3 packages always native in the
sense tested here?

>       if ($dscformat =~ /^1\./) {
>           warning(sprintf(_g("multiple upstream tarballs in %s format dsc"), 
> $dscformat)) if @tarfiles > 1;
>           warning(sprintf(_g("debian.tar in %s format dsc"), $dscformat)) if 
> $debianfile;
>       }
>      }
> +    if (%vcsfiles && $dscformat !~ /^3\./) {
> +     warning(sprintf(_g("<rc>.tar file in %s format dsc"), $dscformat));
> +    }
>  
>      $newdirectory = $sourcepackage.'-'.$baseversion unless 
> defined($newdirectory);
>      $expectprefix = $newdirectory;


Gruesse,
-- 
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to