rpms/fonttools/F-12 fonttools-as.patch, NONE, 1.1 fonttools.spec, 1.18, 1.19 fonttools-uni5.patch, 1.1, NONE

Caolan McNamara caolanm at fedoraproject.org
Fri Oct 2 09:41:03 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/fonttools/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32514/F-12

Modified Files:
	fonttools.spec 
Added Files:
	fonttools-as.patch 
Removed Files:
	fonttools-uni5.patch 
Log Message:
Resolves: rhbz#525444 as is a reserved keyword in python

fonttools-as.patch:
 ttProgram.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE fonttools-as.patch ---
Index: Lib/fontTools/ttLib/tables/ttProgram.py
===================================================================
--- Lib/fontTools/ttLib/tables/ttProgram.py	(revision 562)
+++ Lib/fontTools/ttLib/tables/ttProgram.py	(revision 563)
@@ -394,7 +394,7 @@
 	
 	p = Program()
 	p.fromBytecode(bc)
-	as = p.getAssembly()
-	p.fromAssembly(as)
+	asm = p.getAssembly()
+	p.fromAssembly(asm)
 	print bc == p.getBytecode()
 


Index: fonttools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fonttools/F-12/fonttools.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- fonttools.spec	24 Jul 2009 23:01:15 -0000	1.18
+++ fonttools.spec	2 Oct 2009 09:41:02 -0000	1.19
@@ -3,7 +3,7 @@
 
 Name:           fonttools
 Version:        2.2
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        A tool to convert True/OpenType fonts to XML and back
 
 Group:          Development/Tools
@@ -15,6 +15,8 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 BuildRequires:  python-devel numpy
 Requires:       numpy
 
+Patch0:         fonttools-as.patch
+
 Provides:       ttx = %{version}-%{release}
 
 %description
@@ -25,6 +27,7 @@ TrueType and OpenType fonts to an XML-ba
 
 %prep
 %setup -q
+%patch0 -p0 -b .as
 
 %{__sed} -i.nobang '1 d' Lib/fontTools/ttx.py
 %{__chmod} a-x LICENSE.txt
@@ -70,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Oct 02 2009 Caolán McNamara <caolanm at redhat.com> - 2.2-7
+* Resolves: rhbz#525444 as is a reserved keyword in python
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


--- fonttools-uni5.patch DELETED ---




More information about the fonts-bugs mailing list