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.169 by fvlingen, Tue Apr 1 09:52:28 2008 UTC vs.
Revision 1.244 by spiga, Thu Nov 27 17:40:36 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms prodagent PRODAGENT_0_9_0_pre1
1 > ### RPM cms prodagent PRODAGENT_0_12_7_CRAB_3
2   ## INITENV +PATH PYTHONPATH %i/lib
3 + ## INITENV +PATH PYTHONPATH $WEBTOOLS_ROOT/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/Tools/GraphTool/src
4 + ## INITENV +PATH PYTHONPATH $PY2_PIL_ROOT/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/PIL
5 + #
6   #
7   %define cvstag %v
8   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
9 < #Requires: webtools python mysql py2-mysqldb dbs-client boss prodcommon openssl cherrypy PHEDEX-micro
7 < Requires: webtools dbs-client boss prodcommon
9 > Requires: webtools mysql py2-mysqldb dbs-client prodcommon py2-pyxml PHEDEX-micro py2-numpy py2-matplotlib py2-pil py2-pyopenssl wmcore dls-client boss
10  
11   %prep
12   %setup -n PRODAGENT
# Line 21 | Line 23 | mkdir -p %{i}/etc/profile.d
23   mkdir -p %i/workdir
24  
25   (echo "#!/bin/sh"; \
26 < # echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \
27 < # echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \
28 < # echo "source $MYSQL_ROOT/etc/profile.d/init.sh"; \
27 < # echo "source $PY2_MYSQLDB_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 $PY2_PYXML_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 $BOSS_ROOT/etc/profile.d/init.sh"; \
32   echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \
33 < # echo "source $CHERRYPY_ROOT/etc/profile.d/init.sh"; \
34 < # echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.sh"; \
33 > echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.sh"; \
34 > echo "source $PY2_NUMPY_ROOT/etc/profile.d/init.sh"; \
35 > echo "source $PY2_MATPLOTLIB_ROOT/etc/profile.d/init.sh"; \
36 > echo "source $PY2_PIL_ROOT/etc/profile.d/init.sh"; \
37 > echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.sh"; \
38   echo "source $WEBTOOLS_ROOT/etc/profile.d/init.sh"; \
39 < echo "source $BOSS_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh
39 > echo "source $WMCORE_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh
40  
41   (echo "#!/bin/tcsh"; \
42 < # echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \
43 < # echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \
44 < # echo "source $MYSQL_ROOT/etc/profile.d/init.csh"; \
39 < # echo "source $PY2_MYSQLDB_ROOT/etc/profile.d/init.csh"; \
42 > echo "source $MYSQL_ROOT/etc/profile.d/init.csh"; \
43 > echo "source $PY2_MYSQLDB_ROOT/etc/profile.d/init.csh"; \
44 > echo "source $PY2_PYXML_ROOT/etc/profile.d/init.csh"; \
45   echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \
46 + echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.csh"; \
47 + echo "source $BOSS_ROOT/etc/profile.d/init.csh"; \
48   echo "source $PRODCOMMON_ROOT/etc/profile.d/init.csh"; \
49 < # echo "source $CHERRYPY_ROOT/etc/profile.d/init.csh"; \
50 < # echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.csh"; \
49 > echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.csh"; \
50 > echo "source $PY2_NUMPY_ROOT/etc/profile.d/init.csh"; \
51 > echo "source $PY2_MATPLOTLIB_ROOT/etc/profile.d/init.csh"; \
52 > echo "source $PY2_PIL_ROOT/etc/profile.d/init.csh"; \
53 > echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.csh"; \
54   echo "source $WEBTOOLS_ROOT/etc/profile.d/init.csh"; \
55 < echo "source $BOSS_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh
55 > echo "source $WMCORE_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh
56  
57  
58   %post
59   %{relocateConfig}etc/profile.d/dependencies-setup.sh
60   %{relocateConfig}etc/profile.d/dependencies-setup.csh
61 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines