[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.5-38-gcc59976



The following commit has been merged in the master branch:
commit bd2034b516dcb4d03a7062c3f59e29e987d057eb
Author: Russ Allbery <rra@debian.org>
Date:   Sat Feb 21 15:08:05 2009 -0800

    Recognize Format: 2.0 packages as non-native
    
    * lib/Lintian/Collect/Source.pm:
      + [RA] Recognize Format: 2.0 packages as non-native.

diff --git a/debian/changelog b/debian/changelog
index a184af6..9fcbf38 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -66,6 +66,8 @@ lintian (2.2.6) UNRELEASED; urgency=low
       disabled as the syntax is currently accepted by dak although it is
       likely to stop being so in the near future.
 
+  * lib/Lintian/Collect/Source.pm:
+    + [RA] Recognize Format: 2.0 packages as non-native.
   * lib/Lintian/Command.pm:
     + [RA] Disable IPC::Run debugging.  Patch from Raphael Geissert.
     + [RA] Don't load Data::Dumper.  Patch from Raphael Geissert.
diff --git a/lib/Lintian/Collect/Source.pm b/lib/Lintian/Collect/Source.pm
index f44899c..ec163e0 100644
--- a/lib/Lintian/Collect/Source.pm
+++ b/lib/Lintian/Collect/Source.pm
@@ -61,7 +61,7 @@ sub native {
     my ($self) = @_;
     return $self->{native} if exists $self->{native};
     my $format = $self->field('format');
-    if ($format =~ /^\s*3\.0\s+\(quilt\)\s*$/) {
+    if ($format =~ /^\s*2\.0\s*$/ or $format =~ /^\s*3\.0\s+\(quilt\)\s*$/) {
         $self->{native} = 0;
     } else {
         my $version = $self->field('version');

-- 
Debian package checker


Reply to: