rpms/python-reportlab/devel python-reportlab-get_python_lib.patch, NONE, 1.1 python-reportlab.spec, 1.19, 1.20

Brian Pepple bpepple at fedoraproject.org
Tue Sep 29 14:50:07 UTC 2009


Author: bpepple

Update of /cvs/pkgs/rpms/python-reportlab/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22438

Modified Files:
	python-reportlab.spec 
Added Files:
	python-reportlab-get_python_lib.patch 
Log Message:
* Tue Sep 29 2009 Brian Pepple <bpepple at fedoraproject.org> - 2.1-7
- Add patch to fix build on x86_64 builder. (#525535)


python-reportlab-get_python_lib.patch:
 setup.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE python-reportlab-get_python_lib.patch ---
--- reportlab_2_1.OLD/reportlab/setup.py	2007-05-24 06:08:21.000000000 -0500
+++ reportlab_2_1/reportlab/setup.py	2009-09-24 12:20:56.000000000 -0500
@@ -5,6 +5,7 @@
 
 import os, sys, distutils, glob
 from distutils.core import setup, Extension
+from distutils.sysconfig import get_python_lib
 
 # from Zope - App.Common.package_home
 def package_home(globals_dict):
@@ -18,7 +19,7 @@
 isfile = os.path.isfile
 isdir = os.path.isfile
 dirname = os.path.dirname
-package_path = pjoin(package_home(distutils.__dict__), 'site-packages', 'reportlab')
+package_path = pjoin(get_python_lib(), 'reportlab')
 
 def get_version():
     #determine Version


Index: python-reportlab.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-reportlab/devel/python-reportlab.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- python-reportlab.spec	26 Jul 2009 20:59:18 -0000	1.19
+++ python-reportlab.spec	29 Sep 2009 14:50:07 -0000	1.20
@@ -2,7 +2,7 @@
 
 Name:		python-reportlab
 Version:	2.1
-Release:	6%{?dist}
+Release:	7%{?dist}
 Summary:	Python PDF generation library
 
 Group:		Development/Libraries
@@ -10,6 +10,7 @@ License:	BSD
 URL:		http://www.reportlab.org/
 Source0:	http://www.reportlab.org/ftp/ReportLab_2_1.tgz
 Patch0:		%{name}-%{version}-remove_luxifont.patch
+Patch1:		%{name}-get_python_lib.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
@@ -34,7 +35,7 @@ The %{name}-docs package contains the do
 %prep
 %setup -q -n reportlab_2_1
 %patch0 -p1 -b .luxifont
-
+%patch1 -p1 -b .lib
 
 %build
 cd ./reportlab
@@ -87,6 +88,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Sep 29 2009 Brian Pepple <bpepple at fedoraproject.org> - 2.1-7
+- Add patch to fix build on x86_64 builder. (#525535)
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list