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.3 by lat, Mon May 8 12:24:49 2006 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 > ## 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 URI
6   Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/G/GA/GAAS/%downloadn-%v.tar.gz
7 < Requires: perl
7 > Requires: perl-virtual
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 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion
16   make
17   %install
18   make install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines