ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/webtools-apps.spec
(Generate patch)

Comparing COMP/CMSDIST/webtools-apps.spec (file contents):
Revision 1.1 by eulisse, Thu Dec 20 14:29:54 2007 UTC vs.
Revision 1.2 by valya, Wed Mar 26 15:46:52 2008 UTC

# Line 9 | Line 9 | 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 $DBS_WEB_ROOT/etc/profile.d/init.sh"; \
18 + echo "source $SITEDB_ROOT/etc/profile.d/init.sh"; \
19 + echo "source $PRODREQUEST_ROOT/etc/profile.d/init.sh"; \
20 + ) > %{i}/etc/profile.d/dependencies-setup.sh
21 +
22 + (echo "#!/bin/tcsh"; \
23 + echo "source $DBS_WEB_ROOT/etc/profile.d/init.sh"; \
24 + echo "source $SITEDB_ROOT/etc/profile.d/init.sh"; \
25 + echo "source $PRODREQUEST_ROOT/etc/profile.d/init.sh"; \
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines