diff --git a/zope-2.8.3-pythonwarning.patch b/zope-2.8.3-pythonwarning.patch new file mode 100644 index 0000000..4cb8e0d --- /dev/null +++ b/zope-2.8.3-pythonwarning.patch @@ -0,0 +1,13 @@ +--- ./lib/python/App/dtml/zope_quick_start.dtml.pythonwarning 2005-10-25 15:23:22.000000000 +0200 ++++ ./lib/python/App/dtml/zope_quick_start.dtml 2005-10-25 15:35:55.000000000 +0200 +@@ -134,5 +134,10 @@ + + + ++

++WARNING: you are running Zope 2.8.X with python 2.4.X, this is not a supported ++combination. Don't file bugreports or ask for support on zope.org. ++

++ + + diff --git a/zope.spec b/zope.spec index 02439ff..7be4a7f 100644 --- a/zope.spec +++ b/zope.spec @@ -13,7 +13,7 @@ Name: zope Summary: Web application server for flexible content management applications Version: 2.8.3 -Release: 1%{?dist} +Release: 2%{?dist} License: ZPL Group: System Environment/Daemons URL: http://www.zope.org/ @@ -28,6 +28,7 @@ Source4: zope-README.Fedora Source5: zope.logrotate.in Source6: zope.logrotate.cron.in Patch0: zope-2.7.3-config.patch +Patch1: zope-2.8.3-pythonwarning.patch BuildRequires: python-devel >= %{python_minver} BuildRequires: python >= %{python_minver} @@ -42,12 +43,22 @@ Zope is an application server framework that enables developers to quickly build web applications such as intranets, portals, and content management systems. +After starting Zope, you can access it by pointing your browser to +http://localhost:8080 + +WARNING: this zope package has been built on python 2.4.X, which is not +supported ! Do not file bugreports or ask for support on zope.org if you +choose to use this package. + %prep %setup -q -n Zope-%{version}-final #-a 10 -# Do not use -b option, or we'll install the backup too %patch0 -p1 -b .config +# remove the backup, or we'll install it too... rm -f skel/etc/zope.conf.in.config +# Warning on the default index_html about python 2.4 & zope 2.8 +%patch1 -p1 -b .pythonwarning + chmod -x skel/import/README.txt cp -p %{SOURCE4} README.Fedora cp -p %{SOURCE5} skel/etc/logrotate.conf.in @@ -177,6 +188,9 @@ fi %changelog +* Tue Oct 25 2005 Aurelien Bompard 2.8.3-2 +- add warning about zope 2.8 & python 2.4 (bug 171681) + * Sat Oct 22 2005 Aurelien Bompard 2.8.3-1 - version 2.8.3