rpms/python-reportlab/devel python-reportlab-2.1-remove_luxifont.patch, NONE, 1.1 python-reportlab.spec, 1.14, 1.15

Brian Pepple (bpepple) fedora-extras-commits at redhat.com
Tue Jan 8 00:02:58 UTC 2008


Author: bpepple

Update of /cvs/pkgs/rpms/python-reportlab/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9026

Modified Files:
	python-reportlab.spec 
Added Files:
	python-reportlab-2.1-remove_luxifont.patch 
Log Message:
* Mon Jan  7 2008 Brian Pepple <bpepple at fedoraproject.org> - 2.1-2
- Remove luxi font. (#427845)
- Add patch to not search for the luxi font.


python-reportlab-2.1-remove_luxifont.patch:

--- NEW FILE python-reportlab-2.1-remove_luxifont.patch ---
diff -ur reportlab_2_1.OLD/reportlab/lib/fontfinder.py reportlab_2_1/reportlab/lib/fontfinder.py
--- reportlab_2_1.OLD/reportlab/lib/fontfinder.py	2007-05-24 07:08:20.000000000 -0400
+++ reportlab_2_1/reportlab/lib/fontfinder.py	2008-01-07 16:20:53.000000000 -0500
@@ -39,7 +39,7 @@
 
 >>> ff.getFamilyNames()
 ['Bitstream Vera Sans', 'Century Schoolbook L', 'Dingbats', 'LettErrorRobot',
-'Luxi Serif', 'MS Gothic', 'MS Mincho', 'Nimbus Mono L', 'Nimbus Roman No9 L',
+'MS Gothic', 'MS Mincho', 'Nimbus Mono L', 'Nimbus Roman No9 L',
 'Nimbus Sans L', 'Rina', 'Standard Symbols L',
 'URW Bookman L', 'URW Chancery L', 'URW Gothic L', 'URW Palladio L']
 


Index: python-reportlab.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-reportlab/devel/python-reportlab.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- python-reportlab.spec	27 May 2007 00:30:40 -0000	1.14
+++ python-reportlab.spec	8 Jan 2008 00:02:24 -0000	1.15
@@ -2,13 +2,14 @@
 
 Name:		python-reportlab
 Version:	2.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Python PDF generation library
 
 Group:		Development/Libraries
 License:	BSD
 URL:		http://www.reportlab.org/
 Source0:	http://www.reportlab.org/ftp/ReportLab_2_1.tgz
+Patch0:		%{name}-%{version}-remove_luxifont.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
@@ -32,6 +33,7 @@
 
 %prep
 %setup -q -n reportlab_2_1
+%patch0 -p1 -b .luxifont
 
 
 %build
@@ -55,6 +57,9 @@
 rm ${RPM_BUILD_ROOT}%{python_sitelib}/reportlab/changes
 rm ${RPM_BUILD_ROOT}%{python_sitelib}/reportlab/license.txt
 
+# Remove luxi font, since it doesn't permit modifications.
+rm -f ${RPM_BUILD_ROOT}%{python_sitelib}/reportlab/fonts/luxiserif*
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -73,6 +78,7 @@
 %{python_sitelib}/reportlab/pdfgen/
 %{python_sitelib}/reportlab/platypus/
 %{python_sitelib}/reportlab/tools/
+%{python_sitelib}/Reportlab-2.1-py2.5.egg-info
 
 
 %files docs
@@ -81,6 +87,10 @@
 
 
 %changelog
+* Mon Jan  7 2008 Brian Pepple <bpepple at fedoraproject.org> - 2.1-2
+- Remove luxi font. (#427845)
+- Add patch to not search for the luxi font.
+
 * Sat May 26 2007 Brian Pepple <bpepple at fedoraproject.org> - 2.1-1
 - Update to 2.1.
 




More information about the fedora-extras-commits mailing list