Permalink
Browse files

only root files can be added in %doc

  • Loading branch information...
1 parent 786bc1f commit dabf3296b375c9d3a3b0263201953faf431fd50c @jquelin committed Jun 23, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 Changes
  2. +1 −0 lib/CPANPLUS/Dist/Mageia.pm
View
@@ -1,6 +1,7 @@
Revision history for CPANPLUS-Dist-Mdv
{{$NEXT}}
+ - only root files can be added in %doc
1.111720 2011-06-21 16:27:57 Europe/Paris
- removing default %clean section
@@ -163,6 +163,7 @@ sub prepare {
uniq
grep { /(README|Change(s|log)|LICENSE|META.(json|yml))$/i }
map { basename $_ }
+ grep { m!^[^/]+/[^/]+$! } # only interested in root files
@{ $module->status->files };
my $distarch =
defined( first { /\.(c|xs)$/i } @{ $module->status->files } )

0 comments on commit dabf329

Please sign in to comment.