ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-xml-parser.spec
Revision: 1.7
Committed: Fri Jun 9 17:29:25 2006 UTC (18 years, 10 months ago) by elmer
Branch: MAIN
CVS Tags: V00-01-00, V00-00-11
Changes since 1.6: +4 -1 lines
Log Message:
Run the test only on linux (temporary workaround)

File Contents

# Content
1 ### RPM external p5-xml-parser 2.34
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 Requires: 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 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
19 esac
20 %install
21 make install