rpms/zope/FC-6 zope.spec,1.32,1.33
Jonathan Steffan (jsteffan)
fedora-extras-commits at redhat.com
Wed May 23 20:58:44 UTC 2007
- Previous message (by thread): rpms/poker-network/devel .cvsignore, 1.3, 1.4 poker-network.spec, 1.2, 1.3 sources, 1.3, 1.4 poker-network-1.0.33-db.patch, 1.1, NONE
- Next message (by thread): rpms/libpng/devel libpng-trns-bug.patch, NONE, 1.1 libpng.spec, 1.39, 1.40
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jsteffan
Update of /cvs/extras/rpms/zope/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17259
Modified Files:
zope.spec
Log Message:
Added zope.pth
Index: zope.spec
===================================================================
RCS file: /cvs/extras/rpms/zope/FC-6/zope.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- zope.spec 8 Apr 2007 04:20:17 -0000 1.32
+++ zope.spec 23 May 2007 20:58:09 -0000 1.33
@@ -1,5 +1,7 @@
%define python_minver 2.4.2
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
%define zope_user zope
%define zope_group %{zope_user}
@@ -13,7 +15,7 @@
Name: zope
Summary: Web application server for flexible content management applications
Version: 2.9.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: ZPL
Group: System Environment/Daemons
URL: http://www.zope.org/
@@ -75,7 +77,7 @@
# Create all required additional directories
for dir in %{zope_home} %{software_home} %{instance_home}/{Products,bin,var} \
%{_sysconfdir}/sysconfig %{_bindir}; do
- mkdir -p $RPM_BUILD_ROOT$dir
+ install -d $RPM_BUILD_ROOT$dir
done
@@ -118,6 +120,11 @@
echo "Zope %{version}-%{release}" > \
"$RPM_BUILD_ROOT%{software_home}/version.txt"
+# write zope.pth
+install -d $RPM_BUILD_ROOT%{python_sitearch}
+echo "%{software_home}" > \
+ "$RPM_BUILD_ROOT%{python_sitearch}/zope.pth"
+
# Compile .pyc
%{__python} -c "import compileall; \
compileall.compile_dir(\"$RPM_BUILD_ROOT%{zope_home}\", \
@@ -177,9 +184,13 @@
%attr(-, %{zope_user}, %{zope_group}) %{instance_home}/README.txt
%attr(-, %{zope_user}, %{zope_group}) %{instance_home}/var
%attr(-, %{zope_user}, %{zope_group}) %config %{instance_home}/etc
+%{python_sitearch}/zope.pth
%changelog
+* Wed May 23 2007 Jonathan Steffan <jon a fedoraunity.org> 2.9.7-2
+- Added zope.pth to fix misc. zope scripts including some zeo stuff
+
* Mon Apr 2 2007 Jonathan Steffan <jon a fedoraunity.org> 2.9.7-1
- Removed hotfix 20070320
- Updated to 2.9.7
- Previous message (by thread): rpms/poker-network/devel .cvsignore, 1.3, 1.4 poker-network.spec, 1.2, 1.3 sources, 1.3, 1.4 poker-network-1.0.33-db.patch, 1.1, NONE
- Next message (by thread): rpms/libpng/devel libpng-trns-bug.patch, NONE, 1.1 libpng.spec, 1.39, 1.40
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list