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

Comparing COMP/CMSDIST/dbs-client.spec (file contents):
Revision 1.32 by afanfani, Thu Nov 8 14:17:14 2007 UTC vs.
Revision 1.55 by valya, Thu Jun 12 00:16:34 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms dbs-client DBS_1_0_8_pre6
2 < ## INITENV +PATH PYTHONPATH %i/lib/Clients/Python
3 < #
4 < #
5 < %define cvstag %v
6 < Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=DBS/Clients/Python&export=DBS/Clients/Python&tag=-r%{cvstag}&output=/dbs-client.tar.gz
7 < Requires: python openssl
1 > ### RPM cms dbs-client DBS_1_1_8
2 > ## INITENV +PATH PYTHONPATH %i/lib/
3 >
4 > %define cvstag %{realversion}
5 > %define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e
6 > Source: %cvsserver&strategy=checkout&module=DBS/Clients/Python&nocache=true&export=DBS&tag=-r%{cvstag}&output=/dbs-client.tar.gz
7 > Requires: python openssl py2-zsi
8  
9  
10   %prep
# Line 21 | Line 21 | cp -r Clients/Python/* %{i}/lib/
21   (echo "#!/bin/sh"; \
22   echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \
23   echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \
24 + echo "source $PY2_ZSI_ROOT/etc/profile.d/init.sh"; \
25   ) > %{i}/etc/profile.d/dependencies-setup.sh
26  
27   (echo "#!/bin/tcsh"; \
28   echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \
29   echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \
30 + echo "source $PY2_ZSI_ROOT/etc/profile.d/init.csh"; \
31   ) > %{i}/etc/profile.d/dependencies-setup.csh
32  
33 + # SCRAM ToolBox toolfile
34 + mkdir -p %i/etc/scram.d
35 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
36 + <doc type=BuildSystem::ToolDoc version=1.0>
37 + <Tool name=dbs-client version=%v>
38 + <client>
39 + <Environment name=DBS_CLIENT_BASE default="%i"></Environment>
40 + </client>
41 + <Runtime name=PATH value="$DBS_CLIENT_BASE/bin" type=path>
42 + </Tool>
43 + EOF_TOOLFILE
44 +
45   %post
46   %{relocateConfig}etc/profile.d/dependencies-setup.sh
47   %{relocateConfig}etc/profile.d/dependencies-setup.csh
48 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines