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

Comparing COMP/CMSDIST/online.spec (file contents):
Revision 1.2 by ratnik, Wed Oct 17 22:19:37 2007 UTC vs.
Revision 1.4 by ratnik, Thu Nov 8 19:23:41 2007 UTC

# Line 1 | Line 1
1 < ### RPM cms online CMSSW_1_7_0_pre5_ONLINE
1 > ### RPM cms online CMSSW_1_7_0_pre10_ONLINE
2   ## IMPORT configurations
3   Provides: /bin/zsh
4 < Requires: online-tool-conf python glimpse
4 > Requires: online-tool-conf python
5   Requires: SCRAMV1
6   %define cmssw_release   %(perl -e '$_="%v"; s/_ONLINE//; print;')
7   %define ucprojname  CMSSW
8   %define lcprojname  cmssw
9  
10 %define prebuildtarget  gindices
10   %define buildtarget     release-build
11   %define saveDeps        yes
12   %define cvsproj         %cvsprojuc
# Line 48 | Line 47 | rm -rf %{srctree}
47   %setup -D -T -b 1 -n %{srctree}
48   #%setup -D -T -a 2 -n %{srctree}
49  
50 + # Remove plugins that only include tests, which we do not build:
51 + rm -rf %_builddir/src/FWCore/Framework/plugins
52 + rm -rf %_builddir/src/RecoVertex/KalmanVertexFit/plugins
53 + rm -rf %_builddir/src/Alignment/CommonAlignmentMonitor/plugins
54 +
55   touch %_builddir/config/%{ucprojname}_ignore.file
56   for file in `ls %_builddir/config/%{ucprojname}_*.file | grep -v  '/%{ucprojname}_ignore.file$' | sed 's|.*/%{ucprojname}_||;s|.file$||'`; do
57    sed 's|@PROJECT_NAME@|%ucprojname|g;s|@PROJECT_VERSION@|%v|g;s|@PROJECT_BUILD_PATH@|%_builddir|g' %_builddir/config/%{ucprojname}_${file}.file > %_builddir/config/${file}
58   done
59 +
60   if [ ${ONLINE_TOOL_CONF_ROOT}/configurations/requirements%scram_xml ] ; then
61    cp ${ONLINE_TOOL_CONF_ROOT}/configurations/requirements%scram_xml %_builddir/config/
62   fi
# Line 72 | Line 77 | export SCRAM_TOOLBOXVERSION=%cmssw_relea
77  
78   mv config/bootsrc config/bootsrc_orig
79  
80 + # Disable building tests, as they bring dependency on cppunit
81 + perl -p -i -e ' s!<ClassPath(.*)test(.*)!!;'  %_builddir/config/BuildFile
82 +
83 + # Specify package list for source bootstrap:
84   perl -p -e 'if (s/(<download.*)(file:src)(.*)(name="src)(">)/#$1$2$3$4$5/){open $fh, "%_sourcedir/online_build_set" or die; while(readline $fh){chomp;print "$1$2/$_$3$4/$_$5\n"}}' config/bootsrc_orig > config/bootsrc
85  
86   %scramcmd project -d $(dirname %i) -b config/bootsrc -f %_builddir/config/site/tools-`cat %_builddir/config/site/sitename`.conf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines