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.3 by eulisse, Tue May 2 08:50:54 2006 UTC vs.
Revision 1.10 by ratnik, Wed Apr 18 23:46:02 2007 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 -e 'use Config; print $Config{archname}')
2 > Requires: gcc-wrapper
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   %define downloadn DBI
7   ## Let's fake the provides of windows stuff for the time being.
8   Provides: perl(RPC::PlClient)
9   Provides: perl(RPC::PlServer)
10   Provides: perl(Win32::ODBC)
11  
10 Requires: perl-virtual
12   Source:  http://cpan.mirror.solnet.ch/authors/id/T/TI/TIMB/%{downloadn}-%{v}.tar.gz
13   %prep
14   %setup -n %downloadn-%v
15   %build
16 < perl Makefile.PL LIB=%i/lib/site_perl/$PERL_VERSION PREFIX=%i
16 > ## IMPORT gcc-wrapper
17 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/%perlversion
18   make
19 + perl -p -i -e 's|^#!.*perl|#!/usr/bin/env perl|' blib/script/dbiprof
20 + perl -p -i -e 's|^#!.*perl|#!/usr/bin/env perl|' blib/script/dbiproxy
21 + perl -p -i -e 's|^#!.*perl|#!/usr/bin/env perl|' dbiprof
22 + perl -p -i -e 's|^#!.*perl|#!/usr/bin/env perl|' dbiproxy
23 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines