1 |
< |
### RPM cms dbs-client DBS_1_0_8 |
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 openssl |
5 |
> |
%define cvstag %{realversion} |
6 |
> |
%define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e |
7 |
> |
Source: %cvsserver&strategy=checkout&module=DBS/Clients/Python&nocache=true&export=DBS&tag=-r%{cvstag}&output=/dbs-client.tar.gz |
8 |
> |
Requires: python openssl py2-zsi |
9 |
|
|
10 |
|
|
11 |
|
%prep |
22 |
|
(echo "#!/bin/sh"; \ |
23 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \ |
24 |
|
echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \ |
25 |
+ |
echo "source $PY2_ZSI_ROOT/etc/profile.d/init.sh"; \ |
26 |
|
) > %{i}/etc/profile.d/dependencies-setup.sh |
27 |
|
|
28 |
|
(echo "#!/bin/tcsh"; \ |
29 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \ |
30 |
|
echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \ |
31 |
+ |
echo "source $PY2_ZSI_ROOT/etc/profile.d/init.csh"; \ |
32 |
|
) > %{i}/etc/profile.d/dependencies-setup.csh |
33 |
|
|
34 |
|
%post |