1 |
< |
### RPM cms crab-server CRABSERVER_0_0_1_pre9 |
1 |
> |
### RPM cms crab-server CRABSERVER_1_0_9_pre3 |
2 |
|
## INITENV +PATH PYTHONPATH %i/lib |
3 |
< |
|
3 |
> |
# |
4 |
|
%define cvstag %v |
5 |
|
Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=CRAB/CRABSERVER&export=CRAB&&tag=-r%{cvstag}&output=/CRABSERVER.tar.gz |
6 |
< |
Requires: python boss dbs-client dls prodcommon prodagent |
7 |
< |
|
6 |
> |
Requires: python dbs-client dls-client prodcommon prodagent py2-pyxml |
7 |
|
%prep |
8 |
|
%setup -n CRAB |
9 |
|
%build |
10 |
|
|
11 |
|
echo "PWD=$PWD" |
13 |
– |
#cd CRABSERVER |
14 |
– |
#echo "PWD=$PWD" |
12 |
|
mv CRABSERVER/* . |
13 |
|
|
14 |
|
%install |
20 |
|
|
21 |
|
(echo "#!/bin/sh"; \ |
22 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \ |
23 |
+ |
echo "source $PY2_PYXML_ROOT/etc/profile.d/init.sh"; \ |
24 |
|
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \ |
25 |
< |
echo "source $DLS_ROOT/etc/profile.d/init.sh"; \ |
25 |
> |
echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.sh"; \ |
26 |
|
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \ |
27 |
< |
echo "source $PRODAGENT_ROOT/etc/profile.d/init.sh"; \ |
30 |
< |
echo "source $BOSS_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh |
27 |
> |
echo "source $PRODAGENT_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh |
28 |
|
|
29 |
|
(echo "#!/bin/tcsh"; \ |
30 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \ |
31 |
+ |
echo "source $PY2_PYXML_ROOT/etc/profile.d/init.csh"; \ |
32 |
|
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \ |
33 |
< |
echo "source $DLS_ROOT/etc/profile.d/init.csh"; \ |
33 |
> |
echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.csh"; \ |
34 |
|
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.csh"; \ |
35 |
< |
echo "source $PRODAGENT_ROOT/etc/profile.d/init.csh"; \ |
38 |
< |
echo "source $BOSS_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh |
35 |
> |
echo "source $PRODAGENT_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh |
36 |
|
|
37 |
|
%post |
38 |
|
%{relocateConfig}etc/profile.d/dependencies-setup.sh |