Permalink
Browse files

Merge pull request #5 from Leont/master

Fix build arguments for Build.PL spec conformance
  • Loading branch information...
silug committed Oct 24, 2014
2 parents 1d69542 + ce89117 commit 533d40db4ec29981d6ebdd7a512f1db1248b966c
Showing with 2 additions and 2 deletions.
  1. +2 −2 cpanspec
View
@@ -1214,7 +1214,7 @@ END
if ($usebuildpl) {
print $spec <<END;
-\%{__perl} Build.PL installdirs=vendor@{[$noarch ? '' : qq{ optimize="$macro{optimize}"} ]}
+\%{__perl} Build.PL --installdirs=vendor@{[$noarch ? '' : qq{ --optimize="$macro{optimize}"} ]}
./Build
END
} else {
@@ -1240,7 +1240,7 @@ END
if ($usebuildpl) {
print $spec
- "./Build install destdir=$macro{buildroot} create_packlist=0\n";
+ "./Build install --destdir=$macro{buildroot} --create_packlist=0\n";
} else {
print $spec <<END;
make pure_install PERL_INSTALL_ROOT=$macro{buildroot}

0 comments on commit 533d40d

Please sign in to comment.