From 5ee867c660b994c096127e19168d36697bb3ab14 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 11 Nov 2008 21:30:49 +0000 Subject: Update CDBS snippet copyright-check.mk: Compact simple licenses (those without ' or later'). --- (limited to 'debian') 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)/;'\ -- cgit v0.9.1