2 |
|
## INITENV +PATH PYTHONPATH %i/lib/Clients/Python |
3 |
|
|
4 |
|
# in order to build DBS RPM you MUST specify which schema/client version should be used. |
5 |
< |
%define schemaVer=DBS_1_0_7 |
6 |
< |
%define clientVer=DBS_1_0_7 |
5 |
> |
%define schemaVer DBS_1_0_7 |
6 |
> |
%define clientVer DBS_1_0_7 |
7 |
|
|
8 |
|
%define cvstag %v |
9 |
|
Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=DBS&export=DBS&tag=-r%{cvstag}&output=/dbs-light.tar.gz |
40 |
|
echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \ |
41 |
|
echo -e "export PYTHONPATH=\044PYTHONPATH:\044DBS_LIGHT_ROOT/Clients/Python:\044DBS_LIGHT_ROOT/Clients/Python/DBSAPI"; \ |
42 |
|
echo -e "export DBS_CLIENT_CONFIG=\044DBS_LIGHT_ROOT/Clients/Python/DBSAPI/dbs.config"; \ |
43 |
+ |
echo -e "export DBS_SERVER_CONFIG=\044DBS_LIGHT_ROOT/Servers/JavaServer/etc/context.xml"; \ |
44 |
|
) > %{i}/etc/profile.d/dependencies-setup.sh |
45 |
|
|
46 |
|
(echo "#!/bin/tcsh"; \ |
49 |
|
echo "source $APACHE_ANT_ROOT/etc/profile.d/init.csh"; \ |
50 |
|
echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \ |
51 |
|
echo -e "setenv PYTHONPATH \044PYTHONPATH:\044DBS_LIGHT_ROOT/Clients/Python:\044DBS_LIGHT_ROOT/Clients/Python/DBSAPI"; \ |
52 |
< |
echo -e "setenv DBS_CLIENT_CONFIG=\044DBS_LIGHT_ROOT/Clients/Python/DBSAPI/dbs.config"; \ |
52 |
> |
echo -e "setenv DBS_CLIENT_CONFIG \044DBS_LIGHT_ROOT/Clients/Python/DBSAPI/dbs.config"; \ |
53 |
> |
echo -e "setenv DBS_SERVER_CONFIG \044DBS_LIGHT_ROOT/Servers/JavaServer/etc/context.xml"; \ |
54 |
|
) > %{i}/etc/profile.d/dependencies-setup.csh |
55 |
|
|
56 |
|
# client |