summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-09-04 01:59:49 -0400
committerJesse Luehrs <doy@tozt.net>2013-09-04 01:59:56 -0400
commit21f3748e9e1562bf0bd3c09c4316388c56eeb373 (patch)
treef6c50f0133c98860879d69fb78c401a115d0f00c /bin
parentfb660982f85daa4f21a34224fad4ad05c6f14a58 (diff)
downloadconf-21f3748e9e1562bf0bd3c09c4316388c56eeb373.tar.gz
conf-21f3748e9e1562bf0bd3c09c4316388c56eeb373.zip
one more
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lint-dist8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/lint-dist b/bin/lint-dist
index 99c8d9c..9a5c80c 100755
--- a/bin/lint-dist
+++ b/bin/lint-dist
@@ -194,6 +194,14 @@ my @checks = (
[
sub { $_[0]->has_file('Changes') },
sub {
+ my $dist = $_[0]->name;
+ $_[0]->read_file('Changes') !~ /\ARevision history for $dist$/m
+ },
+ "changelog has incorrect header"
+ ],
+ [
+ sub { $_[0]->has_file('Changes') },
+ sub {
require CPAN::Changes;
require version;