1 |
< |
### RPM cms webtools-apps 1 |
2 |
< |
Requires: prodrequest sitedb dbs-web |
1 |
> |
### RPM cms webtools-apps 2 |
2 |
> |
Requires: prodrequest sitedb dbs-web webconddb fmws |
3 |
|
Source: none |
4 |
|
|
5 |
|
%prep |
9 |
|
cp -f %_sourcedir/none . |
10 |
|
%build |
11 |
|
%install |
12 |
+ |
mkdir -p %{i}/bin |
13 |
+ |
mkdir -p %{i}/lib |
14 |
+ |
mkdir -p %{i}/etc/profile.d |
15 |
+ |
|
16 |
+ |
(echo "#!/bin/sh"; \ |
17 |
+ |
echo "source $SITEDB_ROOT/etc/profile.d/init.sh"; \ |
18 |
+ |
echo "source $PRODREQUEST_ROOT/etc/profile.d/init.sh"; \ |
19 |
+ |
echo "source $DBS_WEB_ROOT/etc/profile.d/init.sh"; \ |
20 |
+ |
echo "source $FMWS_ROOT/etc/profile.d/init.sh"; \ |
21 |
+ |
) > %{i}/etc/profile.d/dependencies-setup.sh |
22 |
+ |
|
23 |
+ |
(echo "#!/bin/tcsh"; \ |
24 |
+ |
echo "source $SITEDB_ROOT/etc/profile.d/init.csh"; \ |
25 |
+ |
echo "source $PRODREQUEST_ROOT/etc/profile.d/init.csh"; \ |
26 |
+ |
echo "source $DBS_WEB_ROOT/etc/profile.d/init.csh"; \ |
27 |
+ |
echo "source $FMWS_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 |