Skip to content

Commit

Permalink
only root files can be added in %doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jquelin committed Jun 23, 2011
1 parent 786bc1f commit dabf329
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,7 @@
Revision history for CPANPLUS-Dist-Mdv Revision history for CPANPLUS-Dist-Mdv


{{$NEXT}} {{$NEXT}}
- only root files can be added in %doc


1.111720 2011-06-21 16:27:57 Europe/Paris 1.111720 2011-06-21 16:27:57 Europe/Paris
- removing default %clean section - removing default %clean section
Expand Down
1 change: 1 addition & 0 deletions lib/CPANPLUS/Dist/Mageia.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ sub prepare {
uniq uniq
grep { /(README|Change(s|log)|LICENSE|META.(json|yml))$/i } grep { /(README|Change(s|log)|LICENSE|META.(json|yml))$/i }
map { basename $_ } map { basename $_ }
grep { m!^[^/]+/[^/]+$! } # only interested in root files
@{ $module->status->files }; @{ $module->status->files };
my $distarch = my $distarch =
defined( first { /\.(c|xs)$/i } @{ $module->status->files } ) defined( first { /\.(c|xs)$/i } @{ $module->status->files } )
Expand Down

0 comments on commit dabf329

Please sign in to comment.