1 |
|
### RPM external p5-template-toolkit 2.14 |
2 |
|
## INITENV +PATH PATH %{i}/bin |
3 |
< |
## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion/%perlarch |
3 |
> |
## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion |
4 |
|
%define perlversion %(perl -e 'printf "%%vd", $^V') |
5 |
|
%define perlarch %(perl -MConfig -e 'print $Config{archname}') |
6 |
|
Requires: p5-dbi |
39 |
|
TT_DOCS=n \ |
40 |
|
TT_EXAMPLES=n |
41 |
|
make |
42 |
+ |
perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' blib/script/tpage |
43 |
+ |
perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' blib/script/ttree |
44 |
+ |
|
45 |
|
%install |
46 |
|
make install |