Skip to content

Commit

Permalink
Now filtering the "perl" BuildRequires target.
Browse files Browse the repository at this point in the history
This tripped me on a certain occasion where perl(perl) was required.
  • Loading branch information
shlomif authored and jquelin committed Feb 9, 2010
1 parent c43ba2f commit 012bdf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/CPANPLUS/Dist/Mdv.pm
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ sub prepare {
$distmaker = "./Build";
$distinstall = "./Build install destdir=%{buildroot}";
}
my $distbreqs = join "\n", map { "BuildRequires: perl($_)" } @reqs;
my $distbreqs = join "\n", map { "BuildRequires: perl($_)" }
grep { $_ ne "perl" } @reqs;
my @docfiles =
uniq
grep { /(README|Change(s|log)|LICENSE)$/i }
Expand Down

0 comments on commit 012bdf3

Please sign in to comment.