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

Comparing COMP/CMSDIST/webtools.spec (file contents):
Revision 1.48 by valya, Mon Oct 13 15:17:22 2008 UTC vs.
Revision 1.55 by valya, Fri Jan 30 14:38:48 2009 UTC

# Line 1 | Line 1
1 < ### RPM cms webtools 1.3.9
1 > ### RPM cms webtools 1.3.27
2   ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages
3   ## INITENV +PATH PERL5LIB %i/lib/perl
4  
5   %define moduleName WEBTOOLS
6   %define exportName WEBTOOLS
7 < %define cvstag V01-03-19
7 > %define cvstag V01-03-27
8   %define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e
9   Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/%{moduleName}.tar.gz
10   Requires: python cherrypy py2-cheetah yui sqlite zlib py2-pysqlite expat openssl bz2lib db4 gdbm py2-cx-oracle py2-formencode py2-pycrypto oracle beautifulsoup py2-sqlalchemy oracle-env
# Line 99 | Line 99 | perl -p -i -e "s!\@RPM_INSTALL_PREFIX\@!
99  
100   # setup approripate links and made post install procedure
101   . $RPM_INSTALL_PREFIX/%{pkgrel}/etc/profile.d/init.sh
102 if [ `hostname`=="cmswttest.cern.ch" ]; then
103 cat > $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/Tools/SiteDBCore/security.ini << POST_EOF
104 [database]
105 dbtype = sqlite
106 dbname = $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/Tools/SiteDBCore/sitedb.db
107 POST_EOF
108 else
102   if [ -n "${WEBTOOLS_CONF}" ] && [ -f ${WEBTOOLS_CONF}/sitedb/security.ini ]; then
103   ln -s ${WEBTOOLS_CONF}/sitedb/security.ini $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/Tools/SiteDBCore/security.ini
104   fi
112 fi
105  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines