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

Comparing COMP/CMSDIST/oval.spec (file contents):
Revision 1.7 by elmer, Wed Jun 27 12:50:44 2007 UTC vs.
Revision 1.9 by elmer, Mon Nov 24 22:37:11 2008 UTC

# Line 1 | Line 1
1 < ### RPM external oval 3_5_0-CMS3
1 > ### RPM external oval 3_5_0
2   Source: http://oval.in2p3.fr/%{n}_%{realversion}.tar.gz
3   Provides: perl(ActiveDoc::GroupChecker)
4   %prep
# Line 9 | Line 9 | Provides: perl(ActiveDoc::GroupChecker)
9   tar -cf - . | tar -C %i -xf -
10   find %i -type d -name CVS -print | xargs rm -fr
11  
12 + # SCRAM ToolBox toolfile
13 + mkdir -p %i/etc/scram.d
14 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
15 + <doc type=BuildSystem::ToolDoc version=1.1>
16 + <Tool name=OVAL version=%v>
17 + <Client>
18 + <Environment name=OVAL_BASE default="%i"></Environment>
19 + </Client>
20 + EOF_TOOLFILE
21 +
22 + case %cmsplatf in
23 + slc3_* | slc4_* )
24 + echo '<Runtime name=OVAL_FLAVOR value="Linux">' >> %i/etc/scram.d/%n
25 + ;;
26 + osx* )
27 + echo '<Runtime name=OVAL_FLAVOR value="osx">' >> %i/etc/scram.d/%n
28 + ;;
29 + esac
30 + cat << \EOF_TOOLFILE >>%i/etc/scram.d/%n
31 + <runtime name=PATH value="$OVAL_BASE/bin" type=path>
32 + </Tool>
33 + EOF_TOOLFILE
34 +
35 + %post
36 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines