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

Comparing COMP/CMSDIST/p5-dbd-oracle.spec (file contents):
Revision 1.2 by eulisse, Wed Mar 15 17:27:18 2006 UTC vs.
Revision 1.4 by lat, Fri May 5 15:40:35 2006 UTC

# Line 1 | Line 1
1   ### RPM external p5-dbd-oracle 1.17
2   ## INITENV +PATH PERL5LIB %i/lib/site_perl/$PERL_VERSION/%perlarch
3 < %define perlarch $($PERL_ROOT/bin/perl -e 'use Config; print $Config{archname}')
3 > %define perlarch $(perl -e 'use Config; print $Config{archname}')
4   %define downloadn DBD-Oracle
5   Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/P/PY/PYTHIAN/%downloadn-%v.tar.gz
6 < Requires: perl p5-dbi oracle
6 >
7 > Requires: perl-virtual p5-dbi oracle
8   %prep
9   %setup -n %{downloadn}-%{v}
10 +
11   %build
12 < perl Makefile.PL LIB=%i/lib/site_perl/$PERL_VERSION/
12 > patch Makefile.PL << \EOF
13 > diff Makefile.PL.orig Makefile.PL
14 > 1407a1408
15 > >        "$OH/include", # Tim Barrass, hacked for OIC install from zips
16 > EOF
17 > %ifos darwin
18 > [ $(uname) = Darwin ] perl -p -i -e 's/NMEDIT = nmedit/NMEDIT = true/' Makefile.PL
19 > %endif
20 >
21 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/$PERL_VERSION -l -m $ORACLE_HOME/demo/demo.mk
22   make

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines