1 |
< |
### RPM cms crab-server CRABSERVER_0_0_2_pre3 |
1 |
> |
### RPM cms crab-server CRABSERVER_1_0_2_pre4 |
2 |
|
## INITENV +PATH PYTHONPATH %i/lib |
3 |
– |
|
3 |
|
%define cvstag %v |
4 |
|
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 |
5 |
< |
Requires: python boss dbs-client dls prodcommon prodagent |
7 |
< |
|
5 |
> |
Requires: python dbs-client dls-client prodcommon prodagent-crab py2-pyopenssl |
6 |
|
%prep |
7 |
|
%setup -n CRAB |
8 |
|
%build |
9 |
|
|
10 |
|
echo "PWD=$PWD" |
13 |
– |
#cd CRABSERVER |
14 |
– |
#echo "PWD=$PWD" |
11 |
|
mv CRABSERVER/* . |
12 |
|
|
13 |
|
%install |
19 |
|
|
20 |
|
(echo "#!/bin/sh"; \ |
21 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \ |
22 |
+ |
echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.sh"; \ |
23 |
|
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \ |
24 |
< |
echo "source $DLS_ROOT/etc/profile.d/init.sh"; \ |
24 |
> |
echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.sh"; \ |
25 |
|
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \ |
26 |
< |
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 |
26 |
> |
echo "source $PRODAGENT_CRAB_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh |
27 |
|
|
28 |
|
(echo "#!/bin/tcsh"; \ |
29 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \ |
30 |
+ |
echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.csh"; \ |
31 |
|
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \ |
32 |
< |
echo "source $DLS_ROOT/etc/profile.d/init.csh"; \ |
32 |
> |
echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.csh"; \ |
33 |
|
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.csh"; \ |
34 |
< |
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 |
34 |
> |
echo "source $PRODAGENT_CRAB_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh |
35 |
|
|
36 |
|
%post |
37 |
|
%{relocateConfig}etc/profile.d/dependencies-setup.sh |