1 |
ratnik |
1.23 |
### RPM cms online CMSSW_2_0_0_ONLINE2
|
2 |
ratnik |
1.1 |
## IMPORT configurations
|
3 |
|
|
Provides: /bin/zsh
|
4 |
ratnik |
1.19 |
Provides: /bin/ksh
|
5 |
ratnik |
1.18 |
Provides: /bin/sed
|
6 |
ratnik |
1.19 |
Provides: /usr/bin/awk
|
7 |
ratnik |
1.18 |
Provides: perl(Date::Format)
|
8 |
|
|
Provides: perl(Term::ReadKey)
|
9 |
|
|
Provides: perl(full)
|
10 |
ratnik |
1.19 |
Provides: perl(LWP::UserAgent)
|
11 |
|
|
Provides: perl(Template)
|
12 |
|
|
|
13 |
ratnik |
1.4 |
Requires: online-tool-conf python
|
14 |
ratnik |
1.18 |
|
15 |
ratnik |
1.23 |
%define cmssw_release %(perl -e '$_="%v"; s/_ONLINE2//; print;')
|
16 |
ratnik |
1.18 |
%define cvsprojuc %(echo %n | sed -e "s|-debug||"| tr 'a-z' 'A-Z')
|
17 |
|
|
%define cvsprojlc %(echo %cvsprojuc | tr 'A-Z' 'a-z')
|
18 |
|
|
%define cvsdir %cvsprojuc
|
19 |
|
|
%define cvsserver %cvsprojlc
|
20 |
ratnik |
1.1 |
%define buildtarget release-build
|
21 |
|
|
%define saveDeps yes
|
22 |
|
|
|
23 |
ratnik |
1.18 |
#Defines for file containing list of packages for checkout and build:
|
24 |
|
|
%define buildsetrepo CMSDIST
|
25 |
|
|
%define buildsetfile online_build_set.file
|
26 |
ratnik |
1.21 |
%define buildsetvers buildset_V2_1
|
27 |
ratnik |
1.1 |
|
28 |
|
|
|
29 |
ratnik |
1.18 |
%define patchsrc2 perl -p -i -e ' s!(<classpath.*/test\\+.*>)!!;' config/BuildFile.xml
|
30 |
|
|
%define patchsrc3 perl -p -i -e ' s!int depth=1,!int depth,!;' src/DQM/HcalMonitorTasks/interface/HcalTrigPrimMonitor.h
|
31 |
ratnik |
1.19 |
%define scramcmd $SCRAMV1_ROOT/bin/scram
|
32 |
|
|
|
33 |
ratnik |
1.18 |
## IMPORT cms-scram-build
|
34 |
|
|
## IMPORT partial-build
|
35 |
|
|
## IMPORT scramv1-build
|