From 010de34fe6e7118789302e651a868884ee603c25 Mon Sep 17 00:00:00 2001 From: stevenpritchard Date: Mon, 5 Mar 2007 18:23:36 +0000 Subject: [PATCH] Exclude *.cfg from %doc. --- Changes | 1 + cpanspec | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index e7e68c5..c98e7e4 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ * Delete pm_to_blib if it exists. * Don't include the MODULE_COMPAT magic with --old. +* Exclude *.cfg from %doc. 1.69.1 2006-10-16 diff --git a/cpanspec b/cpanspec index 0644a95..09175b1 100755 --- a/cpanspec +++ b/cpanspec @@ -10,7 +10,7 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# $Id: cpanspec,v 1.43 2006/11/09 20:49:30 stevenpritchard Exp $ +# $Id: cpanspec,v 1.44 2007/03/05 18:23:36 stevenpritchard Exp $ our $NAME="cpanspec"; our $VERSION='1.70'; @@ -678,7 +678,7 @@ for my $file (@args) { my @doc=sort { $a cmp $b } grep { !/\// - and !/\.(pl|xs|h|c|pm|in|pod)$/i + and !/\.(pl|xs|h|c|pm|in|pod|cfg)$/i and !/^\./ and $_ ne "MANIFEST" and $_ ne "MANIFEST.SKIP"