diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-11-11 18:19:00 (GMT) |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-11-11 18:19:00 (GMT) |
commit | 443f8ad9d786d244e7755a094d1f3423bd98a3a3 (patch) | |
tree | b417356f0fb91eea77b3c655e332e6263e527c1c | |
parent | 3e331f117f983bb5c703412b0656e22e57b7c145 (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)/;'\ |