ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-libwww-perl.spec
(Generate patch)

Comparing COMP/CMSDIST/p5-libwww-perl.spec (file contents):
Revision 1.2 by eulisse, Wed Mar 15 17:20:36 2006 UTC vs.
Revision 1.4 by lat, Mon May 8 12:24:49 2006 UTC

# Line 1 | Line 1
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_ROOT/bin/perl -e 'use Config; print $Config{archname}')
2 > ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion/%perlarch
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 < Requires: perl expat p5-uri
7 >
8 > Requires: perl-virtual expat p5-uri
9 >
10 > ## FIXME: we fake the existance of these to remove rpm complaining about needing it.
11 > Provides: perl(Authen::NTLM)
12 > Provides: perl(HTML::Entities)
13 > Provides: perl(HTTP::GHTTP)
14 > Provides: perl(Win32)
15 >
16   Source: http://cpan.mirror.solnet.ch/authors/id/G/GA/GAAS/%{downloadn}-%{downloadv}.tar.gz
17   %prep
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines