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

Comparing COMP/CMSDIST/p5-dbi.spec (file contents):
Revision 1.2 by eulisse, Mon Mar 13 15:15:10 2006 UTC vs.
Revision 1.9 by eulisse, Mon Jun 19 15:35:49 2006 UTC

# Line 1 | Line 1
1   ### RPM external p5-dbi 1.50
2 < ## INITENV +PATH PERL5LIB %i/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
3 > %define perlversion %(perl -e 'printf "%%vd", $^V')
4 > %define perlarch %(perl -MConfig -e 'print $Config{archname}')
5   %define downloadn DBI
6 < Requires: perl
6 > ## Let's fake the provides of windows stuff for the time being.
7 > Provides: perl(RPC::PlClient)
8 > Provides: perl(RPC::PlServer)
9 > Provides: perl(Win32::ODBC)
10 >
11   Source:  http://cpan.mirror.solnet.ch/authors/id/T/TI/TIMB/%{downloadn}-%{v}.tar.gz
12   %prep
13   %setup -n %downloadn-%v
14   %build
15 < perl Makefile.PL LIB=%i/lib/site_perl/$PERL_VERSION
15 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion
16   make
17 + perl -p -i -e 's|^#!.*perl|#!/usr/bin/env perl|' blib/script/dbiprof
18 + perl -p -i -e 's|^#!.*perl|#!/usr/bin/env perl|' blib/script/dbiproxy
19 + perl -p -i -e 's|^#!.*perl|#!/usr/bin/env perl|' dbiprof
20 + perl -p -i -e 's|^#!.*perl|#!/usr/bin/env perl|' dbiproxy
21 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines