[devscripts] 02/14: Enable future copyright formats to be valid format specifications (thanks to Charles Plessy for the hint)

James McCoy jamessan at debian.org
Thu Nov 21 03:53:45 UTC 2013


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

jamessan pushed a commit to branch master
in repository devscripts.

commit 64d0b7e98dd441a8d46a7174d40b27ec4abf1e49
Author: Andreas Tille <tille at debian.org>
Date:   Sun Aug 26 12:17:24 2012 +0200

    Enable future copyright formats to be valid format specifications (thanks to Charles Plessy for the hint)
---
 scripts/uscan.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index b886e5f..2ad89e6 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -1494,7 +1494,7 @@ EOF
     if ($exclusion) {
 	my $data = Dpkg::Control::Hash->new();
 	$data->load('debian/copyright');
-	my $okformat = qr'http://www.debian.org/doc/packaging-manuals/copyright-format/1.0';
+	my $okformat = qr'http://www.debian.org/doc/packaging-manuals/copyright-format/[.\d]+';
 	if ($data->{'format'} =~ m{^$okformat/?$} and $data->{'files-excluded'} ) {
 	    my $tempdir = tempdir ( "uscanXXXX", TMPDIR => 1, CLEANUP => 1 );
 	    my $globpattern = "*";

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



More information about the devscripts-devel mailing list