- cleanup
Changed files:
Zope.spec -> 1.59
Name: Zope
Version: 2.7.0
%define sub_ver b4
-Release: 3.%{sub_ver}.1
+Release: 3.%{sub_ver}.2
License: Zope Public License (ZPL)
Group: Networking/Daemons
Source0: http://www.zope.org/Products/%{name}/%{version}%{sub_ver}/%{version}%{sub_ver}/%{name}-%{version}-%{sub_ver}.tgz
perl -pi -e "s|data_dir\s+=\s+.*?join\(INSTANCE_HOME, 'var'\)|data_dir=INSTANCE_HOME|" lib/python/Globals.py
./configure \
- --prefix=%{zope_dir}
+ --prefix=%{zope_dir} \
+ --optimize
# --with-python=/usr/bin/python
%{__make}
perl -pi -e "s|data_dir\s+=\s+.*?join\(INSTANCE_HOME, 'var'\)|data_dir=INSTANCE_HOME|" lib/python/Globals.py
-# python wo_pcgi.py
%install
rm -rf $RPM_BUILD_ROOT