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

Comparing COMP/CMSDIST/cms-common.spec (file contents):
Revision 1.13 by dlange, Mon Jul 28 04:11:50 2008 UTC vs.
Revision 1.14 by andreasp, Fri Jan 30 10:32:10 2009 UTC

# Line 1 | Line 1
1   ### RPM cms cms-common 1.0
2 ## REVISION 1050
3 ## NOCOMPILER
2   Source: cmsos
3   %prep
4   %build
# Line 13 | Line 11 | mkdir -p %instroot/common %instroot/bin
11   # This is to avoid different arch creating these files
12   if [ ! -f %instroot/common/.cms-common ]; then
13   install -m 755 %_sourcedir/cmsos %instroot/common/cmsos
16
17 %if "%{?online_release:set}" == "set"
18 echo echo %{cmsos} >  %instroot/common/cmsos
19 chmod 755 %instroot/common/cmsos
20 %endif
21
22
23 %if "%{?online_release:set}" != "set"
14   ### Detects the SCRAM_ARCH to be used.
15   cat << \EOF_CMSARCH_SH >%instroot/common/cmsarch
16   #!/bin/sh
# Line 44 | Line 34 | else
34   fi
35  
36   EOF_CMSARCH_SH
47 %else
48 cat << \EOF_CMSARCH_ONL >%instroot/common/cmsarch
49 #!/bin/sh
50 echo %{cmsplatf}
51 EOF_CMSARCH_ONL
52 %endif
53
37   chmod 755 %instroot/common/cmsarch
38  
39   ### BASH code
# Line 103 | Line 86 | fi
86  
87   if [ ! $CVSROOT ]
88   then
89 <    CVSROOT=:kserver:cmscvs.cern.ch:/cvs_server/repositories/CMSSW
89 >    CVSROOT=:gserver:cmscvs.cern.ch:/cvs_server/repositories/CMSSW
90      export CVSROOT
91   fi
92  
# Line 156 | Line 139 | if( -e $CMS_PATH/SITECONF/local/JobConfi
139   endif
140  
141   if ( ! ${?CVSROOT}) then
142 <  setenv CVSROOT :kserver:cmscvs.cern.ch:/cvs_server/repositories/CMSSW
142 >  setenv CVSROOT :gserver:cmscvs.cern.ch:/cvs_server/repositories/CMSSW
143   endif
144  
145   unset here

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines