ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-uri.spec
(Generate patch)

Comparing COMP/CMSDIST/p5-uri.spec (file contents):
Revision 1.1 by eulisse, Wed Mar 15 17:55:42 2006 UTC vs.
Revision 1.7 by ratnik, Wed Apr 18 23:46:02 2007 UTC

# Line 1 | Line 1
1   ### RPM external p5-uri 1.35
2 < ## INITENV +PATH PERL5LIB $P5_URI_ROOT/lib/site_perl/$PERL_VERSION/%{perlarch}
3 < %define perlarch $($PERL_ROOT/bin/perl -e 'use Config; print $Config{archname}')
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 URI
7   Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/G/GA/GAAS/%downloadn-%v.tar.gz
8 < Requires: perl
8 >
9 > # Let's remove the dependency on ISBN stuff...
10 > Provides: perl(Business::ISBN)
11 >
12   %prep
13   %setup -n %downloadn-%v
14   %build
15 < $PERL_ROOT/bin/perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/$PERL_VERSION/%perlarch
15 > ## IMPORT gcc-wrapper
16 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion
17   make
18   %install
19   make install
20 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines