Bug#568749: lintian: don't recommend depending on perl-modules
Package: lintian
Version: 2.3.3
Severity: wishlist
Tags: patch
As discussed in #552052, we now consider perl-modules an internal
implementation detail of the perl source package and discourage direct
dependencies on it.
This patch makes lintian no longer recommend a perl-modules dependency
for dual-lived modules.
I'm working on a lintian warning about existing dependencies, but
will submit that as a separate bug.
Thanks for your work on lintian,
--
Niko Tyni ntyni@debian.org
>From 9eaf219f0173b3265df33b7c5f1d0787189f2a03 Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Wed, 3 Feb 2010 23:00:48 +0200
Subject: [PATCH] Don't recommend a direct dependency on perl-modules, use perl instead.
As discussed in #552052, perl-modules is now considered an internal
implementation detail of the perl source package and direct dependencies
on it are discouraged.
---
checks/fields.desc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/checks/fields.desc b/checks/fields.desc
index 663e66c..d870d1d 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -904,10 +904,10 @@ Info: This package declares an unnecessary versioned dependency
.
The recommended way to express the dependency without needless
complications on backporting packages is to use alternative dependencies.
- The Perl core package should be the preferred alternative and the
+ The perl package should be the preferred alternative and the
versioned dependency a secondary one.
.
- Example: perl-modules (>= 5.10.0) | libmodule-build-perl (>= 0.26)
+ Example: perl (>= 5.10.0) | libmodule-build-perl (>= 0.26)
Ref: policy 7.5
Tag: package-superseded-by-perl
@@ -925,10 +925,10 @@ Info: This package is also provided by one of the Perl core packages
.
The recommended way to express the dependency without needless
complications on backporting packages is to use alternative dependencies.
- The Perl core package should be the preferred alternative and the
+ The perl package should be the preferred alternative and the
versioned dependency a secondary one.
.
- Example: perl-modules (>= 5.10.0) | libmodule-build-perl (>= 0.26)
+ Example: perl (>= 5.10.0) | libmodule-build-perl (>= 0.26)
Ref: policy 7.5
Tag: vcs-field-uses-not-recommended-uri-format
--
1.6.6.1
Reply to: