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.1 by eulisse, Sun Feb 26 14:35:22 2006 UTC vs.
Revision 1.7 by elmer, Tue Jun 6 22:07:52 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 -V | tr ',' '\\n' | grep arch | cut -d= -f2)
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 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines