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

[SCM] Debian package checker branch, master, updated. 2.5.3-20-gf2e674f



The following commit has been merged in the master branch:
commit f2e674ffb016f175f5fedb5c9ceb492c6c8539c9
Author: Jakub Wilk <jwilk@debian.org>
Date:   Sun Sep 18 20:04:35 2011 +0200

    checks/source-copyright: Added more DEP-5 URLs
    
    Acked-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/source-copyright b/checks/source-copyright
index c28a01c..e88fda7 100644
--- a/checks/source-copyright
+++ b/checks/source-copyright
@@ -105,9 +105,9 @@ if (m{
 	    $version = '0+svn';
 	    $uri =~ m,^\?(?:\S+&)?rev=(\d+)(?:&\S+)?$, and $version = "$version~$1";
 	}
-	elsif ($uri =~ s,^http://anonscm\.debian\.org/viewvc/dep/web/deps/dep5\.mdwn\b,,) {
+	elsif ($uri =~ s,^http://(?:svn|anonscm)\.debian\.org/viewvc/dep/web/deps/dep5\.mdwn\b,,) {
 	    $version = '0+svn';
-	    $uri =~ m,^\?(?:\S+&)?(?:pathrev|revision)=(\d+)(?:&\S+)?$, and $version = "$version~$1";
+	    $uri =~ m,^\?(?:\S+&)?(?:pathrev|revision|rev)=(\d+)(?:&\S+)?$, and $version = "$version~$1";
 	}
 	elsif ($uri =~ m,^http://www\.debian\.org/doc/(?:packaging-manuals/)?copyright-format/(\d+\.\d+)$,) {
 	    $version = $1;
diff --git a/debian/changelog b/debian/changelog
index ea4c4c2..ade49b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ lintian (2.5.4) UNRELEASED; urgency=low
   * checks/dehelper:
     + [JW,NT] Check for versioned dependencies for some dh_commands.
       (Closes: #641035)
+  * checks/source-copyright:
+    + [JW] Added some more DEP-5 URLs.  (Closes: #642027)
 
   * data/debhelper/{dh_commands,maint_commands,miscDepends_commands}:
     + [NT] Refreshed.

-- 
Debian package checker


Reply to: