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.19 by valya, Thu Oct 9 14:42:55 2008 UTC

# Line 1 | Line 1
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
# Line 9 | Line 10 | cd webtools-apps-dummy
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines