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.2 by valya, Wed Feb 28 16:02:33 2007 UTC vs.
Revision 1.8 by valya, Mon Apr 2 16:32:15 2007 UTC

# Line 1 | Line 1
1 < ### RPM cms dbs-client v00_00_12
2 < ## INITENV +PATH PYTHONPATH %i/lib
3 <
1 > ### RPM cms dbs-client pre4_v01_00_00
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
6 > Requires: python openssl
7  
8   %prep
9   %setup -n DBS
# Line 11 | Line 11 | Requires: python
11   (make DBSHOME=%_builddir/DBS/Clients/Python )
12  
13   %install
14 < mkdir -p %i/bin
15 < mkdir -p %i/lib/python
16 < ls -l Clients/Python
17 < cp -r Clients/Python/* %i/lib/python
14 > mkdir -p %{i}/bin
15 > mkdir -p %{i}/lib
16 > mkdir -p %{i}/etc/profile.d
17 > cp -r Clients/Python/* %{i}/lib/
18 >
19 > (echo "#!/bin/sh"; \
20 > echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \
21 > echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \
22 > ) > %{i}/etc/profile.d/dependencies-setup.sh
23 >
24 > (echo "#!/bin/tcsh"; \
25 > echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \
26 > echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \
27 > ) > %{i}/etc/profile.d/dependencies-setup.csh
28  
29 + %post
30 + %{relocateConfig}etc/profile.d/dependencies-setup.sh
31 + %{relocateConfig}etc/profile.d/dependencies-setup.csh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines