OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 02-Nov-2006 17:33:21
Branch: HEAD Handle: 2006110216332100
Modified files:
openpkg-src/zope zope.spec
Log:
there is neither a compilezpy.py anywhere not is Zope under lib/zope/.
This way the program searches in a horrible bad location and does not
what was originally intended here. Until a Zope specialist can tell us
whether we need to compile anything here manually, I completely remove
the whole compilation stuff to avoid trouble
Summary:
Revision Changes Path
1.59 +2 -17 openpkg-src/zope/zope.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/zope/zope.spec
============================================================================
$ cvs diff -u -r1.58 -r1.59 zope.spec
--- openpkg-src/zope/zope.spec 13 Oct 2006 17:36:21 -0000 1.58
+++ openpkg-src/zope/zope.spec 2 Nov 2006 16:33:21 -0000 1.59
@@ -37,7 +37,7 @@
Group: CMS
License: Zope Public License
Version: %{V_major}
-Release: 20061013
+Release: 20061102
# list of sources
Source0:
http://www.zope.org/Products/Zope3/%{V_major}/Zope-%{V_major}.tgz
@@ -138,15 +138,6 @@
rm -rf $RPM_BUILD_ROOT
%post
- # compile python modules in place after installation
- echo "Compiling Python modules. Just be patient." |\
- %{l_rpmtool} msg -b -t info
- ( cd $RPM_INSTALL_PREFIX/lib/zope
- find . -name "*.pyc" | xargs rm -f || true
- $RPM_INSTALL_PREFIX/bin/python \
- $RPM_INSTALL_PREFIX/libexec/zope/compilezpy.py
- ) >/dev/null 2>&1 || true
-
# give information about next steps
if [ $1 -eq 1 ]; then
( echo "You have successfully installed Zope. In order to use it,
you first"
@@ -163,16 +154,10 @@
fi
%preun
+ # stop service on deinstallation
[ $1 -eq 0 ] || exit 0
-
- # stop service
%{l_rc} zope stop 2>/dev/null
- # remove compiled python modules
- ( cd $RPM_INSTALL_PREFIX/lib/zope
- find . -name "*.pyc" | xargs rm -f || true
- ) || true
-
# remove log files
rm -rf $RPM_INSTALL_PREFIX/var/zope/var/* >/dev/null 2>&1 || true
rm -rf $RPM_INSTALL_PREFIX/var/zope/log/* >/dev/null 2>&1 || true
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]