Revision: | 1.129 |
Committed: | Fri Jun 19 09:34:07 2009 UTC (15 years, 10 months ago) by muzaffar |
Branch: | MAIN |
CVS Tags: | CMSSW_3_2_7_onlpatch6_ONLINE, for327op6, CMSSW_3_2_7_onlpatch5_ONLINE, CMSSW_3_2_7_onlpatch4_ONLINE, sm327op4, sm091012a, CMSSW_3_2_7_onlpatch3_ONLINE, sm091007a, CMSSW_3_2_7_onlpatch2_ONLINE, sm090928a, CMSSW_3_2_7_onlpatch1_ONLINE, CMSSW_3_2_7_ONLINE, sm090923a, sm090922a, CMSSW_3_2_1_onlpatch6_ONLINE, sm090829a, CMSSW_3_2_1_onlpatch5_ONLINE, sm090826a, CMSSW_3_2_1_onlpatch4_ONLINE, sm090818a, CMSSW_3_2_4_ONLINE, sm090813e, sm090813d, sm090813c, sm090813b, sm090813a, CMSSW_3_2_1_onlpatch3_ONLINE, sm090810a, CMSSW_3_2_1_onlpatch2_ONLINE, sm090806a, CMSSW_3_2_1_onlpatch1_ONLINE, apFor321onlp1v1, apFor321onlp1v0, CMSSW_3_2_1_ONLINE, sm090721b, sm090721a, sm090720b, sm090720a, apFor320onlv1, CMSSW_3_1_1_onlpatch3_ONLINE, sm090716a, CMSSW_3_1_1_onlpatch2_ONLINE, sm090715c, sm090715b, sm090715a, CMSSW_3_ONLINE_BOOTSTRAP, sm090709a, CMSSW_3_1_1_onlpatch1_ONLINE, sm090708g, CMSSW_3_1_1_ONLINE, sm090708f, sm090708e, sm090708d, sm090708c, sm090708b, CMSSW_3_1_0_ONLINE2, sm090708a, CMSSW_3_1_0_onlpatch1_ONLINE, sm090703a, CMSSW_3_1_0_ONLINE, sm090701b, sm090701a, CMSSW_3_1_0_pre10_ONLINE, sm090621b, sm090621a, sm090620b, sm090620a, sm090619e, sm090619d, sm090619c, sm090619b |
Changes since 1.128: | +2 -1 lines |
Log Message: | It looks like the ) was not proper recognised. So change the logic of finding the online arch |
# | User | Rev | Content |
---|---|---|---|
1 | muzaffar | 1.128 | ### RPM cms coral CORAL_2_3_0_pre2 |
2 | elmer | 1.117 | ## IMPORT configurations |
3 | muzaffar | 1.39 | Provides: /bin/zsh |
4 | ratnik | 1.107 | Provides: libexpat.so.0 |
5 | eulisse | 1.1 | Requires: coral-tool-conf |
6 | muzaffar | 1.129 | %define closingbrace ) |
7 | %define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo flase;; esac) | ||
8 | andreasp | 1.127 | |
9 | muzaffar | 1.54 | %define cvsprojuc %(echo %n | sed -e "s|-debug||"| tr 'a-z' 'A-Z') |
10 | %define cvsprojlc %(echo %cvsprojuc | tr 'A-Z' 'a-z') | ||
11 | %define cvsdir %cvsprojlc | ||
12 | %define cvsserver %cvsprojlc | ||
13 | muzaffar | 1.128 | %define preBuildCommand (rm -rf LFCLookupService LFCReplicaService MySQLAccess) |
14 | muzaffar | 1.54 | %define prebuildtarget prebuild |
15 | %define buildtarget release-build | ||
16 | ratnik | 1.103 | |
17 | muzaffar | 1.128 | %if "%online" == "true" |
18 | ratnik | 1.107 | # Disable building tests in online release, |
19 | # since they bring dependency on cppunit: | ||
20 | %define patchsrc4 perl -p -i -e 's!(<classpath.*/tests\\+.*>)!!;' config/BuildFile.xml | ||
21 | muzaffar | 1.128 | %define patchsrc5 rm -rf src/UnitTests |
22 | ratnik | 1.107 | %endif |
23 | |||
24 | andreasp | 1.127 | %if "%(echo %{cmsos} | cut -d_ -f 1 | sed -e 's|osx.*|osx|')" == "osx" |
25 | %define patchsrc4 echo "<use name=boost>" >>src/UnitTests/BuildFile | ||
26 | # Disable building tests, since they bring dependency on cppunit: | ||
27 | %define patchsrc5 perl -p -i -e 's!(<classpath.*/tests\\+.*>)!!;' config/BuildFile.xml | ||
28 | %define patchsrc %patch -p0 | ||
29 | %define patchsrc1 %patch1 -p0 | ||
30 | %endif | ||
31 | |||
32 | eulisse | 1.1 | ## IMPORT lcg-scram-build |
33 | muzaffar | 1.54 | ## IMPORT cms-scram-build |
34 | ratnik | 1.37 | ## IMPORT scramv1-build |