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

lintian: r43 - in trunk: checks debian



Author: djpig
Date: 2004-02-15 15:22:59 +0100 (Sun, 15 Feb 2004)
New Revision: 43

Modified:
   trunk/checks/deb-format
   trunk/debian/changelog
   trunk/debian/control
Log:
move libarchive-tar-perl to Depends as discussed with jvw on irc


Modified: trunk/checks/deb-format
===================================================================
--- trunk/checks/deb-format	2004-02-15 11:57:05 UTC (rev 42)
+++ trunk/checks/deb-format	2004-02-15 14:22:59 UTC (rev 43)
@@ -17,13 +17,7 @@
 my $pkg = shift;
 my $type = shift;
 
-eval q{ use Archive::Tar };
-if ($@) {
-    print "N: The Archive::Tar module is not installed, so lintian\n";
-    print "N: cannot check whether a broken tar version was used for\n";
-    print "N: creating this .deb. Please install libarchive-tar-perl\n";
-    exit;
-}
+use Archive::Tar;
 
 use constant HEAD           => 512;
 use constant TAR_END        => "\0" x 512;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-02-15 11:57:05 UTC (rev 42)
+++ trunk/debian/changelog	2004-02-15 14:22:59 UTC (rev 43)
@@ -44,8 +44,9 @@
      + Recognise the 'tcl' interpreter, not the same as tclsh (Closes: #230182)
 
   Frank Lichtenheld <djpig@debian.org>
-   * debian/control:
-     + we need the libarchive-tar-perl from sarge (>= 1.08-1)
+   * debian/control,checks/deb-format:
+     + Move libarchive-tar-perl to Depends and make it versioned
+     + So just fail in checks/deb-format if Archive::Tar is missing
    * checks/debhelper:
      + fix parsing debian/compat for needed
        version (Closes: #198611)

Modified: trunk/debian/control
===================================================================
--- trunk/debian/control	2004-02-15 11:57:05 UTC (rev 42)
+++ trunk/debian/control	2004-02-15 14:22:59 UTC (rev 43)
@@ -11,8 +11,8 @@
 
 Package: lintian
 Architecture: all
-Depends: perl, file, binutils, diffstat (>= 1.27-1), man-db (>= 2.3.20-1)
-Suggests: binutils-multiarch, libarchive-tar-perl (>= 1.08-1), gettext
+Depends: perl, file, binutils, diffstat (>= 1.27-1), man-db (>= 2.3.20-1), libarchive-tar-perl (>= 1)
+Suggests: binutils-multiarch, gettext
 Description: Debian package checker
  Lintian dissects Debian packages and reports bugs and policy
  violations. It contains automated checks for many aspects of Debian



Reply to: