16 |
|
make install |
17 |
|
# Put in the symlink |
18 |
|
cd %{i}/bin |
19 |
< |
ln -s make gmake |
19 |
> |
ln -sf make gmake |
20 |
> |
|
21 |
> |
# SCRAM ToolBox toolfile |
22 |
> |
mkdir -p %i/etc/scram.d |
23 |
> |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |
24 |
> |
<doc type=BuildSystem::ToolDoc version=1.0> |
25 |
> |
<Tool name=%n version=%v> |
26 |
> |
<Client> |
27 |
> |
<Environment name=MAKE_BASE default="%i"></Environment> |
28 |
> |
</Client> |
29 |
> |
<Runtime name=PATH value="$MAKE_BASE/bin" type=path> |
30 |
> |
</Tool> |
31 |
> |
EOF_TOOLFILE |
32 |
> |
|
33 |
> |
%post |
34 |
> |
cd $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/bin |
35 |
> |
%{relocateConfig}etc/scram.d/%n |
36 |
|
|
21 |
– |
# SCRAM ToolBox toolfile (still to add) |