ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/prodagent.spec
(Generate patch)

Comparing COMP/CMSDIST/prodagent.spec (file contents):
Revision 1.157 by fvlingen, Fri Mar 14 21:07:46 2008 UTC vs.
Revision 1.178 by afanfani, Thu Apr 17 22:09:00 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms prodagent PRODAGENT_0_8_3
1 > ### RPM cms prodagent PRODAGENT_0_6_0_pre3CRAB10
2   ## INITENV +PATH PYTHONPATH %i/lib
3   #
4 + #
5   %define cvstag %v
6   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
7 < Requires: python mysql py2-mysqldb dbs-client boss prodcommon openssl cherrypy PHEDEX-micro py2-sqlalchemy
7 > Requires: python mysql py2-mysqldb dbs-client dls-client prodcommon openssl cherrypy PHEDEX-micro
8  
9   %prep
10   %setup -n PRODAGENT
# Line 19 | Line 20 | cp -R util/* %i/util/
20   mkdir -p %{i}/etc/profile.d
21   mkdir -p %i/workdir
22  
23 +
24   (echo "#!/bin/sh"; \
25   echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \
26   echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \
27   echo "source $MYSQL_ROOT/etc/profile.d/init.sh"; \
28   echo "source $PY2_MYSQLDB_ROOT/etc/profile.d/init.sh"; \
29   echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \
30 + echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.sh"; \
31   echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \
32   echo "source $CHERRYPY_ROOT/etc/profile.d/init.sh"; \
33 < echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.sh"; \
31 < echo "source $PY2_SQLALCHEMY_ROOT/etc/profile.d/init.sh"; \
32 < echo "source $BOSS_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh
33 > echo "source $PHEDEX_MICRO_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"; \
# Line 37 | Line 38 | mkdir -p %i/workdir
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_CLIENT_ROOT/etc/profile.d/init.csh"; \
41 + echo "source $DLS_CLIENT_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"; \
43 < echo "source $PY2_SQLALCHEMY_ROOT/etc/profile.d/init.csh"; \
44 < echo "source $BOSS_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh
45 <
44 > echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh
45  
46   %post
47   %{relocateConfig}etc/profile.d/dependencies-setup.sh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines