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

Comparing COMP/CMSDIST/p5-xml-parser.spec (file contents):
Revision 1.3 by eulisse, Mon Mar 20 19:25:18 2006 UTC vs.
Revision 1.5 by lat, Mon May 8 12:24:49 2006 UTC

# Line 1 | Line 1
1   ### RPM external p5-xml-parser 2.34
2 < ## INITENV +PATH PERL5LIB $P5_XML_PARSER_ROOT/lib/site_perl/$PERL_VERSION/%perlarch
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 XML-Parser
6 < %define perlarch $($PERL_ROOT/bin/perl -e 'use Config; print $Config{archname}')
5 < Requires: perl expat
6 > Requires: perl-virtual expat
7   Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/M/MS/MSERGEANT/%{downloadn}-%{v}.tar.gz
8   %prep
9   %setup -n %downloadn-%v
10   %build
11   which perl
12 < perl Makefile.PL PREFIX=%{i} \
12 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
13                   EXPATLIBPATH=$EXPAT_ROOT/lib \
14                   EXPATINCPATH=$EXPAT_ROOT/include
15   make

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines