Exclude *.cfg from %doc.

This commit is contained in:
stevenpritchard
2007-03-05 18:23:36 +00:00
parent a96210208d
commit 010de34fe6
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -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
+2 -2
View File
@@ -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"