1 |
< |
### RPM external oracle 10.2.0.3-CMS19 |
1 |
> |
### RPM external oracle 10.2.0.4.0 |
2 |
|
## INITENV SET ORACLE_HOME %i |
3 |
< |
## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;; Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac |
3 |
> |
# ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;; Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) false ;; esac |
4 |
|
|
5 |
< |
Source0: http://cmsrep.cern.ch/cmssw/oracle-mirror/%cmsos/%realversion/basic.zip |
6 |
< |
Source1: http://cmsrep.cern.ch/cmssw/oracle-mirror/%cmsos/%realversion/sdk.zip |
7 |
< |
Source2: http://cmsrep.cern.ch/cmssw/oracle-mirror/%cmsos/%realversion/sqlplus.zip |
5 |
> |
Source0: http://cmsrep.cern.ch/cmssw/oracle-mirror/%cmsos/%realversion/instantclient-basic-macosx-10.2.0.4.0.zip |
6 |
> |
Source1: http://cmsrep.cern.ch/cmssw/oracle-mirror/%cmsos/%realversion/instantclient-sdk-macosx-10.2.0.4.0.zip |
7 |
> |
Source2: http://cmsrep.cern.ch/cmssw/oracle-mirror/%cmsos/%realversion/instantclient-sqlplus-macosx-10.2.0.4.0.zip |
8 |
|
Source9: oracle-license |
9 |
|
Source10: http://www.oracle.com/technology/tech/oci/occi/downloads/occi_gcc343_102020.tar.gz |
10 |
|
|
12 |
|
%prep |
13 |
|
rm -rf instantclient_* |
14 |
|
rm -rf libocci.so.10.1 libocci10.a |
15 |
< |
unzip -o -u %_sourcedir/basic.zip |
16 |
< |
unzip -o -u %_sourcedir/sdk.zip |
17 |
< |
unzip -o -u %_sourcedir/sqlplus.zip |
15 |
> |
unzip -o -u %_sourcedir/instantclient-basic-macosx-10.2.0.4.0.zip |
16 |
> |
unzip -o -u %_sourcedir/instantclient-sdk-macosx-10.2.0.4.0.zip |
17 |
> |
unzip -o -u %_sourcedir/instantclient-sqlplus-macosx-10.2.0.4.0.zip |
18 |
|
%if "%{realversion}" == "10.2.0.3" |
19 |
|
case %cmsos in |
20 |
|
slc4_ia32 ) |