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

[SCM] Debian package checker branch, master, updated. 2.5.11-144-gec341ed



The following commit has been merged in the master branch:
commit ec341edc2cfa39139d106827118a96ceb57b3ab0
Author: gregor herrmann <gregoa@debian.org>
Date:   Tue Feb 12 22:21:29 2013 +0100

    c/fields: Catch versioned metacpan homepages
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/fields b/checks/fields
index e702f71..184bf51 100644
--- a/checks/fields
+++ b/checks/fields
@@ -548,7 +548,7 @@ if (defined $info->field('homepage')) {
         tag 'bad-homepage', $orig;
     }
 
-    if ($homepage =~ m,/search\.cpan\.org/.*-[0-9._]+/*$,) {
+    if ($homepage =~ m,/(?:search\.cpan\.org|metacpan\.org)/.*-[0-9._]+/*$,) {
         tag 'homepage-for-cpan-package-contains-version', $orig;
     }
 } elsif ($type eq 'binary' and not $info->native) {
diff --git a/checks/fields.desc b/checks/fields.desc
index 8bc2091..cdce7c1 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -393,7 +393,11 @@ Info: The Homepage field for this package points to CPAN and the URL
  so that the URL doesn't have to be updated for each new release.  For
  example, use:
  .
-   http://search.cpan.org/~samtregar/HTML-Template/
+   http://search.cpan.org/dist/HTML-Template/
+ .
+ or
+ .
+   https://metacpan.org/release/HTML-Template/
  .
  not:
  .
diff --git a/debian/changelog b/debian/changelog
index 5b77fa7..7ca032c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -58,6 +58,8 @@ lintian (2.5.12) UNRELEASED; urgency=low
     + [JW] Reduce severity of b-d-on-python-dev-with-no-arch-any
       to minor.
     + [NT] Skip "depends-on-packaging-dev" for metapackages.
+    + [NT] Apply patch from Gregor Herrmann to catch metacpan
+      homepage links with versions.  (Closes: #700110)
   * checks/files{,.desc}:
     + [NT] Apply patch from Bastien Roucariès to catch paths
       in (common) build dirs.  (Closes: #678857)

-- 
Debian package checker


Reply to: