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.5 by lat, Fri May 5 17:31:32 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 > Provides: perl(Tk::Balloon) perl(Tk::ErrorDialog) perl(Tk::FileSelect) perl(Tk::Pod) perl(Tk::ROText)
9 >
10   %prep
11   %setup -n %{downloadn}-%{v}
12 +
13   %build
14 < perl Makefile.PL LIB=%i/lib/site_perl/$PERL_VERSION/
14 > patch Makefile.PL << \EOF
15 > diff Makefile.PL.orig Makefile.PL
16 > 1407a1408
17 > >        "$OH/include", # Tim Barrass, hacked for OIC install from zips
18 > EOF
19 > %ifos darwin
20 > [ $(uname) = Darwin ] perl -p -i -e 's/NMEDIT = nmedit/NMEDIT = true/' Makefile.PL
21 > %endif
22 >
23 > perl Makefile.PL PREFIX=%i LIB=%i/lib/site_perl/$PERL_VERSION -l -m $ORACLE_HOME/demo/demo.mk
24   make

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines