1 |
< |
### RPM cms webtools-apps 1 |
2 |
< |
Requires: prodrequest sitedb dbs-web |
1 |
> |
### RPM cms webtools-apps 9 |
2 |
> |
Requires: prodrequest sitedb dbs-web jobrobot crabconf |
3 |
> |
#Requires: prodrequest sitedb dbs-web fmws webconddb |
4 |
|
Source: none |
5 |
|
|
6 |
|
%prep |
10 |
|
cp -f %_sourcedir/none . |
11 |
|
%build |
12 |
|
%install |
13 |
+ |
mkdir -p %{i}/bin |
14 |
+ |
mkdir -p %{i}/lib |
15 |
+ |
mkdir -p %{i}/etc/profile.d |
16 |
+ |
|
17 |
+ |
(echo "#!/bin/sh"; \ |
18 |
+ |
echo "source $SITEDB_ROOT/etc/profile.d/init.sh"; \ |
19 |
+ |
echo "source $PRODREQUEST_ROOT/etc/profile.d/init.sh"; \ |
20 |
+ |
echo "source $DBS_WEB_ROOT/etc/profile.d/init.sh"; \ |
21 |
+ |
echo "source $FMWS_ROOT/etc/profile.d/init.sh"; \ |
22 |
+ |
echo "source $JOBROBOT_ROOT/etc/profile.d/init.sh"; \ |
23 |
+ |
echo "source $CRABCONF_ROOT/etc/profile.d/init.sh"; \ |
24 |
+ |
) > %{i}/etc/profile.d/dependencies-setup.sh |
25 |
+ |
|
26 |
+ |
(echo "#!/bin/tcsh"; \ |
27 |
+ |
echo "source $SITEDB_ROOT/etc/profile.d/init.csh"; \ |
28 |
+ |
echo "source $PRODREQUEST_ROOT/etc/profile.d/init.csh"; \ |
29 |
+ |
echo "source $DBS_WEB_ROOT/etc/profile.d/init.csh"; \ |
30 |
+ |
echo "source $FMWS_ROOT/etc/profile.d/init.csh"; \ |
31 |
+ |
echo "source $JOBROBOT_ROOT/etc/profile.d/init.csh"; \ |
32 |
+ |
echo "source $CRABCONF_ROOT/etc/profile.d/init.csh"; \ |
33 |
+ |
) > %{i}/etc/profile.d/dependencies-setup.csh |
34 |
+ |
|
35 |
+ |
%post |
36 |
+ |
%{relocateConfig}etc/profile.d/dependencies-setup.sh |
37 |
+ |
%{relocateConfig}etc/profile.d/dependencies-setup.csh |