1 |
< |
### RPM external gmake 3.81-CMS18a |
1 |
> |
### RPM external gmake 3.81 |
2 |
|
# We will call it "gmake", but gnu calls it "make" |
3 |
|
Source: ftp://ftp.gnu.org/gnu/make/make-%realversion.tar.gz |
4 |
< |
Patch1: gmake-3.81-expand |
4 |
> |
Patch0: gmake-3.81-expand |
5 |
|
|
6 |
|
%prep |
7 |
|
%setup -n make-%{realversion} |
8 |
< |
%patch1 -p0 |
8 |
> |
%patch0 -p1 |
9 |
|
|
10 |
|
%build |
11 |
|
./configure --prefix=%i |
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> |
23 |
> |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml |
24 |
> |
<tool name="%n" version="%v"> |
25 |
> |
<client> |
26 |
> |
<environment name="MAKE_BASE" default="%i"/> |
27 |
> |
</client> |
28 |
> |
<runtime name="PATH" value="$MAKE_BASE/bin" type="path"/> |
29 |
> |
</tool> |
30 |
|
EOF_TOOLFILE |
31 |
|
|
32 |
|
%post |
33 |
< |
cd $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/bin |
35 |
< |
%{relocateConfig}etc/scram.d/%n |
33 |
> |
%{relocateConfig}etc/scram.d/%n.xml |
34 |
|
|