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.19 by elmer, Thu Dec 27 20:28:33 2007 UTC vs.
Revision 1.20 by eulisse, Wed Jan 9 16:00:42 2008 UTC

# Line 1 | Line 1
1   ### RPM external p5-xml-parser 2.34-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}')
3 > %define perl /usr/bin/env perl
4 > %if "%(echo %cmsplatf | cut -f1 -d_ | sed -e 's|\([A-Za-z]*\)[0-9]*|\1|')" == "osx"
5 > %define perl /usr/bin/perl
6 > %endif
7 >
8 > %define perlversion %(%perl -e 'printf "%%vd", $^V')
9 > %define perlarch %(%perl -MConfig -e 'print $Config{archname}')
10   %define downloadn XML-Parser
11   %define expatversion 2.0.0
12   Source0: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/M/MS/MSERGEANT/%{downloadn}-%{realversion}.tar.gz
# Line 27 | Line 32 | make
32   make install
33   cd ../%{downloadn}-%{realversion}
34  
35 < perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
35 > %perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
36                   EXPATLIBPATH=%_builddir/tmp/lib \
37                   EXPATINCPATH=%_builddir/tmp/include
38   make
# Line 53 | Line 58 | case %{cmsos} in
58              setarch x86_64 make
59              setarch x86_64 make install
60              cd ../%{downloadn}-%{realversion}
61 <            perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
61 >            %perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
62                               EXPATLIBPATH=%_builddir/tmp/lib64 \
63                               EXPATINCPATH=%_builddir/tmp/include
64              make

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines