ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/p5-uri.spec
Revision: 1.5
Committed: Fri Jun 16 14:26:55 2006 UTC (18 years, 10 months ago) by eulisse
Branch: MAIN
Changes since 1.4: +1 -1 lines
Log Message:
Removes %perlarch from PERL5LIB

File Contents

# User Rev Content
1 eulisse 1.1 ### RPM external p5-uri 1.35
2 eulisse 1.5 ## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion
3 lat 1.3 %define perlversion %(perl -e 'printf "%%vd", $^V')
4     %define perlarch %(perl -MConfig -e 'print $Config{archname}')
5 eulisse 1.1 %define downloadn URI
6     Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/G/GA/GAAS/%downloadn-%v.tar.gz
7 eulisse 1.2
8     # Let's remove the dependency on ISBN stuff...
9     Provides: perl(Business::ISBN)
10    
11 eulisse 1.1 %prep
12     %setup -n %downloadn-%v
13     %build
14 lat 1.3 perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion
15 eulisse 1.1 make
16     %install
17     make install