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.1 by eulisse, Fri Dec 15 14:49:23 2006 UTC vs.
Revision 1.36 by valya, Tue Mar 11 14:15:17 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms dbs-client pre_v00_00_04
2 < ## INITENV +PATH PYTHONPATH %i/lib
3 <
1 > ### RPM cms dbs-client DBS_1_1_0
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
7 > Requires: python openssl py2-zsi
8 >
9  
10   %prep
11   %setup -n DBS
# Line 11 | Line 13 | Requires: python
13   (make DBSHOME=%_builddir/DBS/Clients/Python )
14  
15   %install
16 < mkdir -p %i/bin
17 < mkdir -p %i/lib/python
18 < ls -l Clients/Python
19 < cp -r Clients/Python/* %i/lib/python
16 > mkdir -p %{i}/bin
17 > mkdir -p %{i}/lib
18 > mkdir -p %{i}/etc/profile.d
19 > cp -r Clients/Python/* %{i}/lib/
20 >
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 > ) > %{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 > ) > %{i}/etc/profile.d/dependencies-setup.csh
30  
31 + %post
32 + %{relocateConfig}etc/profile.d/dependencies-setup.sh
33 + %{relocateConfig}etc/profile.d/dependencies-setup.csh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines