1 |
< |
### RPM cms crab-server CRABSERVER_1_0_4_test |
1 |
> |
### RPM cms crab-server CRABSERVER_1_0_9_pre3 |
2 |
|
## INITENV +PATH PYTHONPATH %i/lib |
3 |
|
# |
4 |
|
%define cvstag %v |
20 |
|
|
21 |
|
(echo "#!/bin/sh"; \ |
22 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \ |
23 |
– |
echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.sh"; \ |
23 |
|
echo "source $PY2_PYXML_ROOT/etc/profile.d/init.sh"; \ |
24 |
|
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \ |
25 |
|
echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.sh"; \ |
26 |
|
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \ |
27 |
< |
echo "source $PRODAGENT_CRAB_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh |
27 |
> |
echo "source $PRODAGENT_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh |
28 |
|
|
29 |
|
(echo "#!/bin/tcsh"; \ |
30 |
|
echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \ |
32 |
– |
echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.csh"; \ |
31 |
|
echo "source $PY2_PYXML_ROOT/etc/profile.d/init.csh"; \ |
32 |
|
echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \ |
33 |
|
echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.csh"; \ |
34 |
|
echo "source $PRODCOMMON_ROOT/etc/profile.d/init.csh"; \ |
35 |
< |
echo "source $PRODAGENT_CRAB_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh |
35 |
> |
echo "source $PRODAGENT_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh |
36 |
|
|
37 |
|
%post |
38 |
|
%{relocateConfig}etc/profile.d/dependencies-setup.sh |