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.2 by eulisse, Tue May 2 08:49:15 2006 UTC vs.
Revision 1.8 by elmer, Tue May 1 11:09:39 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 -e 'use Config; print $Config{archname}')
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}')
5   %define downloadn URI
6   Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/G/GA/GAAS/%downloadn-%v.tar.gz
6 Requires: perl-virtual
7  
8   # Let's remove the dependency on ISBN stuff...
9   Provides: perl(Business::ISBN)
# Line 11 | Line 11 | Provides: perl(Business::ISBN)
11   %prep
12   %setup -n %downloadn-%v
13   %build
14 < perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/$PERL_VERSION/%perlarch
14 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion
15   make
16   %install
17   make install
18 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines