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

[SCM] Debian package checker branch, master, updated. 2.2.17-8-gda40e61



The following commit has been merged in the master branch:
commit da40e610428b7672aa275880598eef62a6bab6ff
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Wed Oct 28 12:27:40 2009 +0000

    Don't try to split -dev packages Depends: field if there isn't one
    
    * checks/control-file{,.desc}:
      + [ADB] Fix an uninitialised value warning when processing a
        -dev package which has no Depends: fields.  Thanks, Lucas
        Nussbaum.

diff --git a/checks/control-file b/checks/control-file
old mode 100644
new mode 100755
index c7cfbc2..9014c7c
--- a/checks/control-file
+++ b/checks/control-file
@@ -210,7 +210,7 @@ for my $binary_control (@binary_controls) {
 	}
 
 	# If this looks like a -dev package, check its dependencies.
-	if ($package =~ /-dev$/) {
+	if ($package =~ /-dev$/ and $binary_control->{'depends'}) {
 		for my $depend (split /\s*,\s*/, $binary_control->{'depends'}) {
 			my ($target, $version) = ($depend =~ /^([\w.+-]+)(?:\s*\(([^\)]+)\))?/);
 			next unless $target;
diff --git a/debian/changelog b/debian/changelog
index 9fd5501..ceee354 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,12 @@
 lintian (2.2.18) UNRELEASED; urgency=low
 
-  * checks/control-file.desc:
+  * checks/control-file{,.desc}:
     + [RA] Say to use (= ${binary:Version}) to fix weak dependencies
       between a library dev package and the shared library.  Thanks,
       Norbert Preining.  (Closes: #548218)
+    + [ADB] Fix an uninitialised value warning when processing a
+      -dev package which has no Depends: fields.  Thanks, Lucas
+      Nussbaum.
   * checks/cruft:
     + [FL] Add automake1.11 to list of autotools packages.  Thanks,
       Laurent Bigonville.  (Closes: #551051)

-- 
Debian package checker


Reply to: