1 |
< |
### RPM cms prodagent PRODAGENT_0_1_1 |
1 |
> |
### RPM cms prodagent PRODAGENT_0_7_0_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=PRODAGENT&export=PRODAGENT&&tag=-r%{cvstag}&output=/PRODAGENT.tar.gz |
6 |
< |
Requires: python mysql py2-mysqldb dbs dls boss prodcommon openssl |
6 |
> |
Requires: python mysql py2-mysqldb dbs-client dls boss prodcommon openssl cherrypy PHEDEX-micro |
7 |
|
|
8 |
|
%prep |
9 |
|
%setup -n PRODAGENT |
19 |
|
mkdir -p %{i}/etc/profile.d |
20 |
|
mkdir -p %i/workdir |
21 |
|
|
22 |
+ |
|
23 |
|
(echo "#!/bin/sh"; \ |
24 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \ |
25 |
+ |
echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \ |
26 |
|
echo "source $MYSQL_ROOT/etc/profile.d/init.sh"; \ |
27 |
|
echo "source $PY2_MYSQLDB_ROOT/etc/profile.d/init.sh"; \ |
28 |
< |
echo "source $DBS_ROOT/etc/profile.d/init.sh"; \ |
28 |
> |
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \ |
29 |
|
echo "source $DLS_ROOT/etc/profile.d/init.sh"; \ |
30 |
|
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \ |
31 |
+ |
echo "source $CHERRYPY_ROOT/etc/profile.d/init.sh"; \ |
32 |
+ |
echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.sh"; \ |
33 |
|
echo "source $BOSS_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh |
34 |
|
|
35 |
|
(echo "#!/bin/tcsh"; \ |
36 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \ |
37 |
+ |
echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \ |
38 |
|
echo "source $MYSQL_ROOT/etc/profile.d/init.csh"; \ |
39 |
|
echo "source $PY2_MYSQLDB_ROOT/etc/profile.d/init.csh"; \ |
40 |
< |
echo "source $DBS_ROOT/etc/profile.d/init.csh"; \ |
40 |
> |
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \ |
41 |
|
echo "source $DLS_ROOT/etc/profile.d/init.csh"; \ |
42 |
|
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.csh"; \ |
43 |
+ |
echo "source $CHERRYPY_ROOT/etc/profile.d/init.csh"; \ |
44 |
+ |
echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.csh"; \ |
45 |
|
echo "source $BOSS_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh |
46 |
|
|
47 |
|
%post |