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

[lintian] 01/01: L::C::Binary: "virtual package" is not a meta-package



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit e2574f60d3301c24156d6d7ee5a4ca9bb2d95191
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Nov 30 21:04:52 2016 +0000

    L::C::Binary: "virtual package" is not a meta-package
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/files.desc             | 5 +++++
 debian/changelog              | 8 ++++++++
 lib/Lintian/Collect/Binary.pm | 3 +--
 3 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/checks/files.desc b/checks/files.desc
index 959fec9..5a30763 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -1518,6 +1518,11 @@ Info: This binary package appears to be empty, and its description does
  If the package is deliberately empty, please mention in the package long
  description one of the phrases "metapackage", "dummy", "dependency
  package", or "empty package".
+ .
+ Previously, lintian also accepted the use of "virtual package".  This
+ was removed to avoid overloading the term.  If you have been relying on
+ the phrase "virtual package" to avoid this warning, please replace it
+ with one of the others.
 
 Tag: empty-udeb-package
 Severity: minor
diff --git a/debian/changelog b/debian/changelog
index 80e5b59..fe9a87b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,11 @@ lintian (2.5.50) UNRELEASED; urgency=medium
     + [BR] Apply patch from Yann Soubeyrand :
       "Allow debhelper "--with" addons to be quoted".
       (Closes: #839822)
+  * checks/files.desc:
+    + [NT] Document that we no longer accept "virtual packages"
+      for deliberately empty packages.  If your package receives
+      an "empty-binary-package" tag, please replace the use of
+      "virtual package".
   * checks/scripts.{desc,pm}:
     + [JW, NT] Apply patch from Antonio Ospite that updates the
       test for php scripts without a php-cli dependency.  Thanks
@@ -40,6 +45,9 @@ lintian (2.5.50) UNRELEASED; urgency=medium
 
   * lib/Lintian/Collect/Binary.pm:
     + [NT] Expose RUNPATH when set in the binary.
+    + [NT] Remove "virtual package" from the list of phrases
+      marking a package as a meta-package.  Thanks to Stuart
+      Prescott for the report.  (Closes: #685029)
 
  -- Niels Thykier <niels@thykier.net>  Wed, 26 Oct 2016 20:42:18 +0000
 
diff --git a/lib/Lintian/Collect/Binary.pm b/lib/Lintian/Collect/Binary.pm
index e2c8afd..5f8a3fe 100644
--- a/lib/Lintian/Collect/Binary.pm
+++ b/lib/Lintian/Collect/Binary.pm
@@ -670,8 +670,7 @@ Needs-Info requirements for using I<is_pkg_class>: L<Same as field|Lintian::Coll
 {
     # Regexes to try against the package description to find metapackages or
     # transitional packages.
-    my $METAPKG_REGEX
-      = qr/meta[ -]?package|dummy|(?:dependency|empty|virtual) package/;
+    my $METAPKG_REGEX= qr/meta[ -]?package|dummy|(?:dependency|empty) package/;
 
     sub is_pkg_class {
         my ($self, $pkg_class) = @_;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: