Revision: | 1.2 |
Committed: | Wed Mar 15 17:27:18 2006 UTC (19 years, 1 month ago) by eulisse |
Branch: | MAIN |
CVS Tags: | V00-00-01, V00-00-00, test2, test1, NataliaStart |
Changes since 1.1: | +1 -1 lines |
Log Message: | Better detection of architecture for PERL5LIB. |
# | User | Rev | Content |
---|---|---|---|
1 | eulisse | 1.1 | ### RPM external p5-dbd-oracle 1.17 |
2 | ## INITENV +PATH PERL5LIB %i/lib/site_perl/$PERL_VERSION/%perlarch | ||
3 | eulisse | 1.2 | %define perlarch $($PERL_ROOT/bin/perl -e 'use Config; print $Config{archname}') |
4 | eulisse | 1.1 | %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 | ||
7 | %prep | ||
8 | %setup -n %{downloadn}-%{v} | ||
9 | %build | ||
10 | perl Makefile.PL LIB=%i/lib/site_perl/$PERL_VERSION/ | ||
11 | make |