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.2 by eulisse, Mon Mar 13 15:12:27 2006 UTC vs.
Revision 1.4 by eulisse, Tue May 2 08:48:47 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
3   %define downloadn XML-Parser
4 < %define perlarch $($PERL_ROOT/bin/perl -e 'use Config; print $Config{archname}')
5 < Requires: perl expat
4 > %define perlarch $(perl -e 'use Config; print $Config{archname}')
5 > Requires: perl-virtual expat
6   Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/M/MS/MSERGEANT/%{downloadn}-%{v}.tar.gz
7   %prep
8   %setup -n %downloadn-%v
9   %build
10   which perl
11 < perl Makefile.PL PREFIX=%{i}
11 > perl Makefile.PL PREFIX=%{i} \
12 >                 EXPATLIBPATH=$EXPAT_ROOT/lib \
13 >                 EXPATINCPATH=$EXPAT_ROOT/include
14   make
15   make test
16   %install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines