[Zope-Checkins] CVS: Zope/inst - Zope.spec.in:1.1.2.5

Chris McDonough chrism@zope.com
Sun, 13 Oct 2002 18:14:26 -0400


Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv20142

Modified Files:
      Tag: chrism-install-branch
	Zope.spec.in 
Log Message:
Minor changes to Zope.spec file


=== Zope/inst/Zope.spec.in 1.1.2.4 => 1.1.2.5 ===
--- Zope/inst/Zope.spec.in:1.1.2.4	Sat Oct 12 18:37:43 2002
+++ Zope/inst/Zope.spec.in	Sun Oct 13 18:14:25 2002
@@ -22,9 +22,13 @@
 Prefix: %{_prefix}
 Vendor: Zope Corporation and Contributors <zope@zope.org>
 Url: http://www.zope.org
+
 # python2.2 packages from RedHat don't have 'compiler' package, but
-# 2.2.1 packages do, so we require 2.2.1
+# 2.2.1 packages do, so we require 2.2.1, although 2.2.1 has bugs
+# itself that cause Zope to crash.  We should require 2.2.2 here, but
+# it hasnt yet been packaged.
 Requires: python2 >= 2.2.1, /usr/sbin/useradd
+
 # we don't require 2.2.1 for building, mainly because I don't
 # actually have it. ;-)
 BuildRequires: python2 >= 2.2, python2-devel > 2.2
@@ -57,9 +61,17 @@
 mkdir -p %{inst_target_dir}
 chown %{zopeuser}.%{zopeuser} %{inst_target_dir}
 chmod 755 %{inst_target_dir}
+
 # blank inituser below causes an inituser file to not be written
 su - %{zopeuser} -c \
   "%{python} %{target_dir}/inst/make_instance.py --insthome=%{inst_target_dir} --zopehome=%{target_dir} --inituser= > /dev/null 2>&1"
+
+# inform the user he will need to write an inituser file
+echo Note that before being able to log in to Zope via a web browser, you'll
+echo need to define a Zope \"initial user\" by running:
+echo
+echo     cd %{inst_target_dir}
+echo     %{inst_target_dir}/bin/zctl.py write_inituser <username> <password>
 
 %postun
 echo Note that the Zope instance files in "%{inst_target_dir}" were not \