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.10 by ratnik, Wed Apr 18 23:46:02 2007 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 > Requires: gcc-wrapper
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   %define downloadn XML-Parser
7 < %define perlarch $($PERL_ROOT/bin/perl -e 'use Config; print $Config{archname}')
5 < Requires: perl expat
7 > Requires: expat
8   Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/M/MS/MSERGEANT/%{downloadn}-%{v}.tar.gz
9   %prep
10   %setup -n %downloadn-%v
11   %build
12 + ## IMPORT gcc-wrapper
13   which perl
14 < perl Makefile.PL PREFIX=%{i}
14 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
15 >                 EXPATLIBPATH=$EXPAT_ROOT/lib \
16 >                 EXPATINCPATH=$EXPAT_ROOT/include
17   make
18 < make test
18 > case $(uname)-$(uname -m) in
19 >  Linux*)
20 >    make test
21 > esac
22   %install
23   make install
24 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines