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

[SCM] Debian package checker branch, master, updated. 2.2.6-31-g6d9405c



The following commit has been merged in the master branch:
commit 6d9405c8c26c95841bc39d25bf18a51232544577
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Tue Mar 3 21:41:46 2009 +0000

    Remove some obsolete code and therefore stop use-ing Dep in checks/rules.
    
    Since desktop-file-but-no-dh_desktop-call was removed, the parsing
    of Build-Depends is now redundant, as is the use of Dep.

diff --git a/checks/rules b/checks/rules
index a9bd18b..37e2e2e 100644
--- a/checks/rules
+++ b/checks/rules
@@ -17,7 +17,6 @@ package Lintian::rules;
 use strict;
 use Tags;
 use Util;
-use Dep;
 
 # The following targets are required per Policy.
 my %required = map { $_ => 1 }
@@ -55,17 +54,6 @@ unless (-d "fields") {
 
 my $architecture = $info->field('architecture') || "";
 
-#get build-depends:
-my $build_deps = "";
-if (defined $info->field('build-depends')) {
-    $build_deps = $info->field('build-depends');
-}
-if (defined $info->field('build-depends-indep')) {
-    $build_deps .= $info->field('build-depends-indep');
-}
-$build_deps = Dep::parse($build_deps);
-
-
 open(RULES, '<', 'debfiles/rules') or fail("Failed opening rules: $!");
 
 # Check for required #!/usr/bin/make -f opening line.  Allow -r or -e; a
diff --git a/debian/changelog b/debian/changelog
index 113d989..ea1f66f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -59,6 +59,7 @@ lintian (2.2.7) UNRELEASED; urgency=low
     + [RA] Be robust against whitespace in the Architecture field.
   * checks/rules:
     + [RA] Be robust against whitespace in the Architecture field.
+    + [ADB] Remove some obsolete code and therefore stop use-ing Dep.
   * checks/shared-libs:
     + [ADB] When parsing symbols files, correctly ensure that meta-information
       occurs between the end of the dependency template(s) and the start of

-- 
Debian package checker


Reply to: