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.29 by afanfani, Wed Oct 10 12:22:52 2007 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_0_7
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  
9   %prep
10   %setup -n DBS
# Line 11 | Line 12 | Requires: python
12   (make DBSHOME=%_builddir/DBS/Clients/Python )
13  
14   %install
15 < mkdir -p %i/bin
16 < mkdir -p %i/lib/python
17 < ls -l Clients/Python
18 < cp -r Clients/Python/* %i/lib/python
15 > mkdir -p %{i}/bin
16 > mkdir -p %{i}/lib
17 > mkdir -p %{i}/etc/profile.d
18 > cp -r Clients/Python/* %{i}/lib/
19 >
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 > ) > %{i}/etc/profile.d/dependencies-setup.sh
24 >
25 > (echo "#!/bin/tcsh"; \
26 > echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \
27 > echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \
28 > ) > %{i}/etc/profile.d/dependencies-setup.csh
29  
30 + %post
31 + %{relocateConfig}etc/profile.d/dependencies-setup.sh
32 + %{relocateConfig}etc/profile.d/dependencies-setup.csh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines