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.9 by eulisse, Mon Jun 19 15:35:49 2006 UTC vs.
Revision 1.12 by eulisse, Tue May 15 16:46:43 2007 UTC

# Line 8 | Line 8 | Source: http://mirror.switch.ch/ftp/mirr
8   %prep
9   %setup -n %downloadn-%v
10   %build
11 < which perl
11 >
12   perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
13                   EXPATLIBPATH=$EXPAT_ROOT/lib \
14                   EXPATINCPATH=$EXPAT_ROOT/include
15   make
16 < case $(uname)-$(uname -m) in
17 <  Linux*)
18 <    make test
16 >
17 > case %{cmsos} in
18 >    slc4_ia32)
19 >        if ldd /usr/bin/gcc | grep -q /lib64/
20 >        then
21 >            make install
22 >            mv %i/lib/site_perl/%perlversion/x86_64-linux-thread-multi  %i/lib/site_perl/%perlversion/i386-linux-thread-multi
23 >            make clean
24 >
25 >            export PATH=/usr/bin/:$PATH
26 >            export GCC_EXEC_PREFIX=/usr/lib/gcc/
27 >            perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
28 >                             EXPATLIBPATH=$EXPAT_ROOT/lib64 \
29 >                             EXPATINCPATH=$EXPAT_ROOT/include
30 >            make
31 >        fi;;
32 >    *)
33 >    ;;
34   esac
35 +
36   %install
37   make install
22 #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines