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.3 by eulisse, Thu Jul 12 10:16:31 2012 UTC vs.
Revision 1.4 by davidlt, Tue Jul 17 12:28:21 2012 UTC

# Line 7 | 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 + mkdir -p %i/bin
20   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.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.xml

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines