diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-11-11 18:07:12 (GMT) |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-11-11 18:07:12 (GMT) |
commit | ab81ff2de0fcd3210b66f48365d9f860919dc709 (patch) | |
tree | 8bda49584f561d9658c74d7fdc562114150b2e12 | |
parent | 67431e678587eba8ad0607383f705ad1067a79f2 (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)/;'\ |