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

Comparing COMP/CMSDIST/dbs-web.spec (file contents):
Revision 1.75 by metson, Mon Mar 17 18:01:09 2008 UTC vs.
Revision 1.79 by valya, Fri Mar 21 13:59:18 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms dbs-web V04_00_01
1 > ### RPM cms dbs-web V04_00_02
2   ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages
3   ## INITENV +PATH PYTHONPATH $ELEMENTTREE_ROOT/share/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages
4   ## INITENV SET DDHOME $DBS_WEB_ROOT/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages
# Line 19 | Line 19 | Requires: python py2-sqlalchemy cherrypy
19   mkdir -p %{i}/bin
20   mkdir -p %{i}/etc/profile.d
21   mkdir -p %i/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages
22 < pwd
23 < ls
24 < cp -r DBS/Web/DataDiscovery/* %i/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages
22 > cp -r * %i/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages
23  
24   cd %i/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages
25   #ln -s $YUI_ROOT/build YUI
# Line 61 | Line 59 | ln -s $YUI_ROOT/build $DDHOME/YUI
59   ln -s $YUI_ROOT $DDHOME/yui
60   mkdir -p $DDHOME/rss
61   ln -s $WEBTOOLS_ROOT/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/Controllers $DDHOME/WEBTOOLS
62 < $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/scripts/post-install.sh `hostname` 8003
62 > if [ `hostname`=="cmswttest.cern.ch" ]; then
63 >    $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/scripts/post-install.sh https://cmsweb.cern.ch/dbs_discovery_wttest 8008
64 >    cat $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/DBSDD.conf | sed "s/# URL=/URL=/g" | sed "s/# PORT=/PORT=/g" > $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/DBSDD.conf.tmp
65 >    mv $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/DBSDD.conf.tmp $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/DBSDD.conf
66 >    rm -f $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/DBParam
67 > if [ -n "${WEBTOOLS_CONF}" ] && [ -f ${WEBTOOLS_CONF}/dbs/DBParam ]; then
68 >    ln -s ${WEBTOOLS_CONF}/dbs/DBParam $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/DBParam
69 > fi
70 > else
71 >    $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/scripts/post-install.sh `hostname` 8003
72 > if [ -n "${WEBTOOLS_CONF}" ] && [ -f ${WEBTOOLS_CONF}/dbs/DBParam ]; then
73 >    ln -s ${WEBTOOLS_CONF}/dbs/DBParam $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/DBParam
74 > fi
75 > fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines