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.12 by afanfani, Fri Apr 13 18:07:33 2007 UTC vs.
Revision 1.57 by valya, Tue Jul 15 19:13:36 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms dbs-client DBS_1_0_0_pre8
2 < ## INITENV +PATH PYTHONPATH %i/lib/Clients/Python
3 < #
4 < %define cvstag %v
5 < 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
6 < Requires: python openssl
1 > ### RPM cms dbs-client DBS_1_2_3
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   %prep
10   %setup -n DBS
# Line 19 | Line 20 | cp -r Clients/Python/* %{i}/lib/
20   (echo "#!/bin/sh"; \
21   echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \
22   echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \
23 + echo "source $PY2_ZSI_ROOT/etc/profile.d/init.sh"; \
24   ) > %{i}/etc/profile.d/dependencies-setup.sh
25  
26   (echo "#!/bin/tcsh"; \
27   echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \
28   echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \
29 + echo "source $PY2_ZSI_ROOT/etc/profile.d/init.csh"; \
30   ) > %{i}/etc/profile.d/dependencies-setup.csh
31  
32 + # SCRAM ToolBox toolfile
33 + mkdir -p %i/etc/scram.d
34 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
35 + <doc type=BuildSystem::ToolDoc version=1.0>
36 + <Tool name=dbs-client version=%v>
37 + <client>
38 + <Environment name=DBS_CLIENT_BASE default="%i"></Environment>
39 + </client>
40 + <Runtime name=PATH value="$DBS_CLIENT_BASE/bin" type=path>
41 + </Tool>
42 + EOF_TOOLFILE
43 +
44   %post
45   %{relocateConfig}etc/profile.d/dependencies-setup.sh
46   %{relocateConfig}etc/profile.d/dependencies-setup.csh
47 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines