1 |
< |
### RPM external lcov 1.6 |
1 |
> |
### RPM external lcov 1.9 |
2 |
> |
## NOCOMPILER |
3 |
|
Source: http://heanet.dl.sourceforge.net/sourceforge/ltp/%n-%realversion.tar.gz |
4 |
|
Patch0: lcov-merge-files-in-same-dir |
5 |
|
|
11 |
|
make %makeprocesses |
12 |
|
|
13 |
|
%install |
14 |
< |
make PREFIX=%i install |
14 |
> |
make PREFIX=%i BIN_DIR=%i/bin install |
15 |
|
# SCRAM ToolBox toolfile |
16 |
|
mkdir -p %i/etc/scram.d |
17 |
< |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n |
18 |
< |
<doc type=BuildSystem::ToolDoc version=1.0> |
19 |
< |
<Tool name=lcov version=%v> |
20 |
< |
<Client> |
21 |
< |
<Environment name=LCOV_BASE default="%i"></Environment> |
22 |
< |
</Client> |
23 |
< |
<Runtime name=PATH value="$LCOV_BASE/bin" type=path> |
24 |
< |
</Tool> |
17 |
> |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml |
18 |
> |
<tool name="lcov" version="%v"> |
19 |
> |
<info url="http://ltp.sourceforge.net/coverage/lcov.php"/> |
20 |
> |
<client> |
21 |
> |
<environment name="LCOV_BASE" default="%i"/> |
22 |
> |
</client> |
23 |
> |
<runtime name="PATH" value="$LCOV_BASE/bin" type="path"/> |
24 |
> |
</tool> |
25 |
|
EOF_TOOLFILE |
26 |
|
|
27 |
|
%post |
28 |
< |
%{relocateConfig}etc/scram.d/%n |
28 |
> |
%{relocateConfig}etc/scram.d/%n.xml |