Use %{__perl} instead of just "perl" when running Build.PL.

This commit is contained in:
stevenpritchard
2006-04-22 00:10:14 +00:00
parent 0c23aa448b
commit 99e6c2d90c
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -2,6 +2,7 @@
* Exclude inc (suggested by Ian Burrell).
* Massage $summary (capitalize, remove trailing ".", remove leading "A").
* Use %{__perl} instead of just "perl" when running Build.PL.
1.64 2006-03-24
+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.20 2006/04/10 21:01:52 stevenpritchard Exp $
# $Id: cpanspec,v 1.21 2006/04/22 00:10:14 stevenpritchard Exp $
my $NAME="cpanspec";
my $VERSION='1.65';
@@ -893,7 +893,7 @@ END
if ($usebuildpl) {
print $spec <<END;
perl Build.PL installdirs=vendor@{[$noarch ? '' : ' optimize="$RPM_OPT_FLAGS"']}
\%{__perl} Build.PL installdirs=vendor@{[$noarch ? '' : ' optimize="$RPM_OPT_FLAGS"']}
./Build
END
} else {