1 |
< |
### RPM lcg root 5.22.00 |
1 |
> |
### RPM lcg root 5.22.00a |
2 |
|
## INITENV +PATH PYTHONPATH %i/lib/python |
3 |
|
## INITENV SET ROOTSYS %i |
4 |
|
#Source: cvs://:pserver:cvs@root.cern.ch:2401/user/cvs?passwd=Ah<Z&tag=-rv%(echo %realversion | tr . -)&module=root&output=/%{n}_v%{realversion}.source.tar.gz |
6 |
|
|
7 |
|
Patch0: root-5.18-00-libpng |
8 |
|
Patch1: root-5.21-04-CINT-maxlongline |
9 |
+ |
Patch2: root-5.22-00-TMVA-shut-the-hell-up-for-once |
10 |
|
|
11 |
|
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
12 |
|
%define pythonv %(echo $PYTHON_VERSION | cut -d. -f1,2) |
31 |
|
%setup -n root |
32 |
|
%patch0 -p1 |
33 |
|
%patch1 -p1 |
34 |
+ |
%patch2 -p1 |
35 |
|
|
36 |
|
%build |
37 |
|
mkdir -p %i |
85 |
|
|
86 |
|
case $(uname)-$(uname -p) in |
87 |
|
Linux-x86_64) |
88 |
< |
./configure linuxx8664gcc $CONFIG_ARGS --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift --disable-astiff --disable-cern;; |
88 |
> |
./configure linuxx8664gcc $CONFIG_ARGS --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift --disable-astiff;; |
89 |
|
Linux-i*86) |
90 |
|
./configure linux $CONFIG_ARGS --with-shift-libdir=${CASTOR_ROOT}/lib --with-shift-incdir=${CASTOR_ROOT}/include/shift;; |
91 |
|
Darwin*) |