1 |
< |
### RPM external p5-libwww-perl 1.41 |
2 |
< |
## INITENV +PATH PERL5LIB $P5_LIBWWW_PERL_ROOT/lib/site_perl/$PERL_VERSION/%perlarch |
3 |
< |
%define perlarch $(perl -e 'use Config; print $Config{archname}') |
1 |
> |
### RPM external p5-libwww-perl 1.41-CMS19 |
2 |
> |
## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion |
3 |
> |
%define perlversion %(perl -e 'printf "%%vd", $^V') |
4 |
> |
%define perlarch %(perl -MConfig -e 'print $Config{archname}') |
5 |
|
%define downloadn libwww-perl |
6 |
|
%define downloadv 5.805 |
7 |
|
|
8 |
< |
Requires: perl-virtual expat p5-uri |
8 |
> |
Requires: p5-uri |
9 |
|
|
10 |
|
## FIXME: we fake the existance of these to remove rpm complaining about needing it. |
11 |
|
Provides: perl(Authen::NTLM) |
18 |
|
%setup -n %downloadn-%downloadv |
19 |
|
%build |
20 |
|
which perl |
21 |
< |
perl Makefile.PL LIB=%{i}/lib/site_perl/$PERL_VERSION/%perlarch |
21 |
> |
perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion |
22 |
|
make |
23 |
|
%install |
24 |
|
make install |
25 |
+ |
# |