Revision: | 1.3 |
Committed: | Wed Mar 26 16:15:05 2008 UTC (17 years, 1 month ago) by valya |
Branch: | MAIN |
CVS Tags: | WEBTOOLS-APPS_20080414, WEBTOOLS-APPS_20080412, WEBTOOLS-APPS_20080411_1, WEBTOOLS-APPS_20080411, WEBTOOLS-APPS_20080410, WEBTOOLS-APPS_20080409_1, WEBTOOLS-APPS_20080409, WEBTOOLS-APPS_20080408_1, WEBTOOLS-APPS_20080408, DBS-APPS_20080407, WEBTOOLS-APPS_20080407, WEBTOOLS-APPS_20080404_2, WEBTOOLS-APPS_20080404_1, WEBTOOLS-APPS_20080404, WEBTOOLS-APPS_20080403_4, WEBTOOLS-APPS_20080403_3, WEBTOOLS-APPS_20080403_2, WEBTOOLS-APPS_20080403_1, WEBTOOLS-APPS_20080403, WEBTOOLS-APPS_20080328, WEBTOOLS-APPS_20080327_1, WEBTOOLS-APPS_20080327, WEBTOOLS-APPS_20080326_6, WEBTOOLS-APPS_20080326_5, WEBTOOLS-APPS_20080326_4, WEBTOOLS-APPS_20080326_3 |
Changes since 1.2: | +4 -4 lines |
Log Message: | Fix deps for tcsh, cut-n-paste problem, reorder deps and made DD the last one, it correctly setups TNS_ADMIN |
# | Content |
---|---|
1 | ### RPM cms webtools-apps 1 |
2 | Requires: prodrequest sitedb dbs-web |
3 | Source: none |
4 | |
5 | %prep |
6 | cd %_builddir |
7 | mkdir webtools-apps-dummy |
8 | cd webtools-apps-dummy |
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 | ) > %{i}/etc/profile.d/dependencies-setup.sh |
21 | |
22 | (echo "#!/bin/tcsh"; \ |
23 | echo "source $SITEDB_ROOT/etc/profile.d/init.csh"; \ |
24 | echo "source $PRODREQUEST_ROOT/etc/profile.d/init.csh"; \ |
25 | echo "source $DBS_WEB_ROOT/etc/profile.d/init.csh"; \ |
26 | ) > %{i}/etc/profile.d/dependencies-setup.csh |
27 | |
28 | %post |
29 | %{relocateConfig}etc/profile.d/dependencies-setup.sh |
30 | %{relocateConfig}etc/profile.d/dependencies-setup.csh |