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

[SCM] Debian package checker branch, master, updated. 2.2.5-24-gcc8ba12



The following commit has been merged in the master branch:
commit cc8ba12d34be8f59b0de91f9d478bcf576f078f1
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Tue Feb 17 22:08:21 2009 +0000

    Really exclude glibc's binaries from package-depends-on-hardcoded-libc
    
    $control->{package} is a binary package and therefore unlikely to be
    "glibc".  Use $pkg instead, which is the source package name.
    
    * checks/control-file:
      + [ADB] Properly exclude packages built from the glibc source package
        from the "hardcoded depends on libc" test.  (Closes: #515831)

diff --git a/checks/control-file b/checks/control-file
index 9c0b830..a46e716 100644
--- a/checks/control-file
+++ b/checks/control-file
@@ -121,7 +121,7 @@ for my $control (@binary_controls) {
 		tag "package-depends-on-itself", $control->{package}, $dep_fields[$strong]
 		    if $relation->implies($control->{package});
 		tag 'package-depends-on-hardcoded-libc', $control->{package}, $dep_fields[$strong]
-		    if ($relation->implies($libcs) and $control->{package} ne "glibc");
+		    if ($relation->implies($libcs) and $pkg ne "glibc");
 		for my $weak (($strong + 1) .. $#dep_fields) {
 			next unless $control->{$dep_fields[$weak]};
 			for my $dependency (split /\s*,\s*/, $control->{$dep_fields[$weak]}) {
diff --git a/debian/changelog b/debian/changelog
index fe526a0..4a912b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ lintian (2.2.6) UNRELEASED; urgency=low
 
   * checks/common_data.pm:
     + [RA] Virtual packages now come from data.
+  * checks/control-file:
+    + [ADB] Properly exclude packages built from the glibc source package
+      from the "hardcoded depends on libc" test.  (Closes: #515831)
   * checks/fields:
     + [RA] Load virtual packages from data/fields/virtual-packages.
   * checks/files{,.desc}:

-- 
Debian package checker


Reply to: