5 |
|
## INITENV SET CRABPYTHON %i/python |
6 |
|
## INITENV SET CRABDIR %i |
7 |
|
## INITENV SET CRABSCRIPT %i/script |
8 |
< |
|
8 |
> |
# |
9 |
|
%define cvstag %v |
10 |
|
Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=CRAB&export=CRAB&&tag=-r%{cvstag}&output=/CRAB.tar.gz |
11 |
|
Requires: python dbs-client dls-client prodcommon sqlite py2-pysqlite |
12 |
< |
|
12 |
> |
Provides: libgridsite.so.1.1 |
13 |
|
%prep |
14 |
|
%setup -n CRAB |
15 |
|
%build |
16 |
|
%install |
17 |
+ |
rm -r script/dbDirectUpdatorMySQL |
18 |
|
rm -rf %i |
19 |
|
mkdir -p %i |
20 |
|
cp -r ./* %i |
24 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \ |
25 |
|
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \ |
26 |
|
echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.sh"; \ |
27 |
< |
echo "source $PRODAGENT_ROOT/etc/profile.d/init.sh"; \ |
27 |
> |
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \ |
28 |
|
echo "source $SQLITE_ROOT/etc/profile.d/init.sh"; \ |
29 |
|
echo "source $PY2_PYSQLITE_ROOT/etc/profile.d/init.sh"; ) > %{i}/etc/profile.d/dependencies-setup.sh |
30 |
|
|
32 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \ |
33 |
|
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \ |
34 |
|
echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.csh"; \ |
35 |
< |
echo "source $PRODAGENT_ROOT/etc/profile.d/init.csh"; \ |
35 |
> |
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.csh"; \ |
36 |
|
echo "source $BOSS_ROOT/etc/profile.d/init.csh"; \ |
37 |
|
echo "source $SQLITE_ROOT/etc/profile.d/init.csh"; \ |
38 |
|
echo "source $PY2_PYSQLITE_ROOT/etc/profile.d/init.csh"; ) > %{i}/etc/profile.d/dependencies-setup.csh |