rpms/mod_python/devel mod_python.spec,1.39,1.40

Joe Orton (jorton) fedora-extras-commits at redhat.com
Fri Jan 4 09:48:56 UTC 2008


Author: jorton

Update of /cvs/extras/rpms/mod_python/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6704

Modified Files:
	mod_python.spec 
Log Message:
* Fri Jan  4 2008 Joe Orton <jorton at redhat.com> 3.3.1-6
- fix rebuild failure due to new egg-info directory



Index: mod_python.spec
===================================================================
RCS file: /cvs/extras/rpms/mod_python/devel/mod_python.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- mod_python.spec	2 Sep 2007 14:05:49 -0000	1.39
+++ mod_python.spec	4 Jan 2008 09:48:18 -0000	1.40
@@ -1,9 +1,10 @@
 %define contentdir /var/www
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Summary: An embedded Python interpreter for the Apache HTTP Server
 Name: mod_python
 Version: 3.3.1
-Release: 5
+Release: 6
 Source: http://www.apache.org/dist/httpd/modpython/%{name}-%{version}.tgz
 Source1: python.conf
 Patch1: mod_python-3.1.3-ldflags.patch
@@ -56,9 +57,12 @@
 %{contentdir}/manual/mod/mod_python
 %{_libdir}/httpd/modules/mod_python.so
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf
-%{_libdir}/python*/site-packages/mod_python
+%{python_sitearch}/mod_python*
 
 %changelog
+* Fri Jan  4 2008 Joe Orton <jorton at redhat.com> 3.3.1-6
+- fix rebuild failure due to new egg-info directory
+
 * Sun Sep  2 2007 Joe Orton <jorton at redhat.com> 3.3.1-5
 - rebuild for fixed 32-bit APR
 




More information about the fedora-extras-commits mailing list