ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/lcov.spec
(Generate patch)

Comparing COMP/CMSDIST/lcov.spec (file contents):
Revision 1.1 by eulisse, Mon Jan 26 13:13:29 2009 UTC vs.
Revision 1.4 by davidlt, Tue Jul 17 12:28:21 2012 UTC

# Line 1 | Line 1
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  
# Line 6 | Line 7 | Patch0: lcov-merge-files-in-same-dir
7   %setup -n %n-%realversion
8   %patch0 -p1
9  
10 + %ifos darwin
11 + # OS X does not support -D option
12 + sed -ibak 's/install -p -D/install -p/g' bin/install.sh
13 + %endif
14 +
15   %build
16   make %makeprocesses
17  
18   %install
19 < make PREFIX=%i install
20 < # SCRAM ToolBox toolfile
15 < mkdir -p %i/etc/scram.d
16 < cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
17 < <doc type=BuildSystem::ToolDoc version=1.0>
18 < <Tool name=lcov version=%v>
19 < <Client>
20 < <Environment name=LCOV_BASE default="%i"></Environment>
21 < </Client>
22 < <Runtime name=PATH value="$LCOV_BASE/bin" type=path>
23 < </Tool>
24 < EOF_TOOLFILE
25 <
26 < %post
27 < %{relocateConfig}etc/scram.d/%n
19 > mkdir -p %i/bin
20 > make PREFIX=%i BIN_DIR=%i/bin install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines