45 |
|
|
46 |
|
# SCRAM ToolBox toolfile |
47 |
|
mkdir -p %i/etc/scram.d |
48 |
< |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |
48 |
> |
# oracle-client toolfile (w/o libocci) |
49 |
> |
cat << \EOF_TOOLFILE >%i/etc/scram.d/oracleclient |
50 |
|
<doc type=BuildSystem::ToolDoc version=1.0> |
51 |
< |
<Tool name=%n version=%v> |
51 |
> |
<Tool name=oracleclient version=%v> |
52 |
|
<lib name=clntsh> |
52 |
– |
<lib name=occi> |
53 |
|
<lib name=nnz10> |
54 |
|
<Client> |
55 |
|
<Environment name=ORACLE_BASE default="%i"></Environment> |
67 |
|
<Runtime name=TNS_ADMIN default="$ORACLE_ADMINDIR"> |
68 |
|
</Tool> |
69 |
|
EOF_TOOLFILE |
70 |
+ |
|
71 |
+ |
# oracle toolfile (oracleclient + libocci) |
72 |
+ |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |
73 |
+ |
<doc type=BuildSystem::ToolDoc version=1.0> |
74 |
+ |
<Tool name=%n version=%v> |
75 |
+ |
<lib name=occi> |
76 |
+ |
<use name=oracleclient> |
77 |
+ |
</Tool> |
78 |
+ |
EOF_TOOLFILE |
79 |
|
%post |
80 |
|
%{relocateConfig}etc/scram.d/%n |