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

Comparing COMP/CMSDIST/p5-template-toolkit.spec (file contents):
Revision 1.3 by eulisse, Sun May 7 00:08:31 2006 UTC vs.
Revision 1.8 by eulisse, Fri Jun 16 14:19:01 2006 UTC

# Line 1 | Line 1
1   ### RPM external p5-template-toolkit 2.14
2   ## INITENV +PATH PATH %{i}/bin
3 < ## INITENV +PATH PERL5LIB %{i}/lib/site_perl/$PERL_VERSION/%perlarch
4 < Requires: perl-virtual p5-dbi
5 < %define perlarch $(perl -e 'use Config; print $Config{archname}')
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 > Requires: p5-dbi
7   %define downloadn Template-Toolkit
8  
9   Provides: perl(AppConfig)
# Line 31 | Line 32 | Source: http://www.cpan.org/modules/by-m
32   %prep
33   %setup -n %{downloadn}-%{v}
34   %build
35 < perl Makefile.PL TT_LIB=%{i}/lib/site_perl/$PERL_VERSION \
35 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion \
36 >                 TT_LIB=%{i}/lib/site_perl/%perlversion \
37                   TT_PREFIX=%{i} \
38                   TT_ACCEPT=y \
39                   TT_DOCS=n \
40 <                 TT_EXAMPLES=n \
39 <                 LIB=%{i}/lib/site_perl/$PERL_VERSION \
40 <                 PREFIX=%{i}
40 >                 TT_EXAMPLES=n
41   make
42 < make test
42 > perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' blib/script/tpage
43 > perl -p -i -e 's|^#!.*perl(.*)|#!/usr/bin/env perl$1|' blib/script/ttree
44 >
45   %install
46   make install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines