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.32 by eulisse, Tue Mar 4 14:10:42 2008 UTC vs.
Revision 1.33 by valya, Fri Mar 21 13:52:45 2008 UTC

# Line 83 | Line 83 | EOF_APACHE2_FOOTER
83   %{relocateConfig}etc/profile.d/dependencies-setup.sh
84   %{relocateConfig}etc/profile.d/dependencies-setup.csh
85   perl -p -i -e "s!\@RPM_INSTALL_PREFIX\@!$RPM_INSTALL_PREFIX/%pkgrel!" $RPM_INSTALL_PREFIX/%pkgrel/bin/cmsWeb
86 +
87 +
88 + # setup approripate links and made post install procedure
89 + . $RPM_INSTALL_PREFIX/%{pkgrel}/etc/profile.d/init.sh
90 + if [ `hostname`=="cmswttest.cern.ch" ]; then
91 + cat > $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/Tools/SiteDBCore/security.ini << POST_EOF
92 + [database]
93 + dbtype = sqlite
94 + dbname = $RPM_INSTALL_PREFIX/%{pkgrel}/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/Tools/SiteDBCore/sitedb.db
95 + POST_EOF
96 + else
97 + if [ -n "${WEBTOOLS_CONF}" ] && [ -f ${WEBTOOLS_CONF}/sitedb/security.ini ]; then
98 + 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
99 + fi
100 + fi
101 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines