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

[SCM] Debian package checker branch, master, updated. 2.2.14-51-g2e28930



The following commit has been merged in the master branch:
commit 4e63785930d11842a26a45d86984bdb07b169bb1
Author: Russ Allbery <rra@debian.org>
Date:   Sun Sep 13 19:21:46 2009 -0700

    Allow architecture-dependent metapackages
    
    * checks/fields{,.desc}:
      + [RA] Allow architecture-dependent metapackages, since it can be
        useful for metapackages to change dependencies based on the
        architecture.  Thanks, Vagrant Cascadian.  (Closes: #544004)

diff --git a/checks/fields b/checks/fields
index 6535111..62e1794 100644
--- a/checks/fields
+++ b/checks/fields
@@ -463,10 +463,11 @@ if (defined $info->field('installer-menu-item')) {
 
 # Check whether the package looks like a meta-package, used for later
 # dependency checks.  We consider a package to possibly be a meta-package if
-# it is a binary package, arch: all, with no files outside of /usr/share/doc
-# and a few other directories found in metapackges.
+# it is a binary package with no files outside of /usr/share/doc and a few
+# other directories found in metapackges.  This also catches documentation
+# packages, but that doesn't matter for our purposes.
 my $metapackage = 0;
-if ($type eq 'binary' && $arch_indep) {
+if ($type eq 'binary') {
 	$metapackage = 1;
 	for my $file (keys %{$info->index}) {
 		next if $info->index->{$file}->{type} =~ /^d/;
diff --git a/debian/changelog b/debian/changelog
index 78feaa8..eebfbd9 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,9 @@ lintian (2.2.15) UNRELEASED; urgency=low
       migration from fileutils is long since finished.
     + [RA] Check for build dependencies on packages that should not be
       used for builds.  (Closes: #540594)
+    + [RA] Allow architecture-dependent metapackages, since it can be
+      useful for metapackages to change dependencies based on the
+      architecture.  Thanks, Vagrant Cascadian.  (Closes: #544004)
   * checks/files{,.desc}:
     + [RA] Suppress non-standard-dir-perm for /tmp, /var/tmp, /var/local,
       /var/lock, and /usr/src if they have their normal owner and

-- 
Debian package checker


Reply to: