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

Comparing COMP/CMSDIST/webtools-base.spec (file contents):
Revision 1.3 by valya, Wed Oct 8 23:21:48 2008 UTC vs.
Revision 1.7 by valya, Mon Oct 13 15:17:22 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms webtools-base 0.1.1
1 > ### RPM cms webtools-base 0.1.4
2   ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages
3   %define moduleName WEBTOOLS
4   %define exportName WEBTOOLS
5 < %define cvstag V01-03-18
5 > %define cvstag V01-03-19
6   %define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e
7   Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/%{moduleName}.tar.gz
8   Requires: python cherrypy py2-cheetah yui webtools
# Line 60 | Line 60 | RETVAL=$?
60   port=7999
61   pid=`ps auxw | grep WSServer | grep -v grep | awk '{print $2}'`
62   base=base
63 < cmd = "cmsWeb --base-url=https://cmsweb.cern.ch/base --port $port --default-page /WSServer"
63 > if [ -n "$WEBTOOLS_BASEURL" ]; then
64 >    url="$WEBTOOLS_BASEURL/$base"
65 > else
66 >    url="http://cmsweb.cern.ch/$base"
67 > fi
68 > cmd="cmsWeb --base-url=$url --port $port --default-page /WSServer"
69  
70   case "$1" in
71   restart)
# Line 99 | Line 104 | esac
104   exit $RETVAL
105  
106   EOF
107 + chmod a+x %i/bin/base_init
108  
109   %post
110   %{relocateConfig}etc/profile.d/dependencies-setup.sh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines