diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-11-11 21:30:49 (GMT) |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-11-11 21:30:49 (GMT) |
commit | 5ee867c660b994c096127e19168d36697bb3ab14 (patch) | |
tree | 45a3e877499c6dca30b5c9841f8fae750dd1e06f | |
parent | 9712cb74047d24ff159ed964115649889b5ffe49 (diff) |
Update CDBS snippet copyright-check.mk: Compact simple licenses (those without ' or later').
-rw-r--r-- | debian/cdbs/1/rules/copyright-check.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/cdbs/1/rules/copyright-check.mk b/debian/cdbs/1/rules/copyright-check.mk index d96681a..98a0b12 100644 --- a/debian/cdbs/1/rules/copyright-check.mk +++ b/debian/cdbs/1/rules/copyright-check.mk @@ -63,6 +63,7 @@ debian/stamp-copyright-check: 'foreach $$file (@files) {'\ ' $$file->{license} =~ s/\s*\(with incorrect FSF address\)//;'\ ' $$file->{license} =~ s/\s+\(v([^)]+) or later\)/-$$1+/;'\ + ' $$file->{license} =~ s/\s+\(v([^)]+)\)/-$$1/;'\ ' $$file->{license} =~ s/\s*(\*No copyright\*)\s*// and $$file->{copyright} = $$1;'\ ' $$file->{license} =~ s/^\s*(GENERATED FILE)/UNKNOWN ($$1)/;'\ ' $$file->{license} =~ s/\s+(GENERATED FILE)/ ($$1)/;'\ |