devel/python python-2.5.1-sqlite-encoding.patch, NONE, 1.1 python.spec, 1.118, 1.119
Jeremy Katz (katzj)
fedora-extras-commits at redhat.com
Fri Sep 14 14:44:46 UTC 2007
Author: katzj
Update of /cvs/pkgs/devel/python
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21838
Modified Files:
python.spec
Added Files:
python-2.5.1-sqlite-encoding.patch
Log Message:
* Fri Sep 14 2007 Jeremy Katz <katzj at redhat.com> - 2.5.1-11
- fix encoding of sqlite .py files to work around weird encoding problem
in Turkish (#283331)
python-2.5.1-sqlite-encoding.patch:
--- NEW FILE python-2.5.1-sqlite-encoding.patch ---
diff -up Python-2.5.1/Lib/sqlite3/dbapi2.py.encoding Python-2.5.1/Lib/sqlite3/dbapi2.py
--- Python-2.5.1/Lib/sqlite3/dbapi2.py.encoding 2007-09-14 10:41:50.000000000 -0400
+++ Python-2.5.1/Lib/sqlite3/dbapi2.py 2007-09-14 10:42:00.000000000 -0400
@@ -1,7 +1,6 @@
-#-*- coding: ISO-8859-1 -*-
# pysqlite2/dbapi2.py: the DB-API 2.0 interface
#
-# Copyright (C) 2004-2005 Gerhard Häring <gh at ghaering.de>
+# Copyright (C) 2004-2005 Gerhard Haering <gh at ghaering.de>
#
# This file is part of pysqlite.
#
diff -up Python-2.5.1/Lib/sqlite3/__init__.py.encoding Python-2.5.1/Lib/sqlite3/__init__.py
--- Python-2.5.1/Lib/sqlite3/__init__.py.encoding 2007-09-14 10:41:47.000000000 -0400
+++ Python-2.5.1/Lib/sqlite3/__init__.py 2007-09-14 10:42:06.000000000 -0400
@@ -1,7 +1,6 @@
-#-*- coding: ISO-8859-1 -*-
# pysqlite2/__init__.py: the pysqlite2 package.
#
-# Copyright (C) 2005 Gerhard Häring <gh at ghaering.de>
+# Copyright (C) 2005 Gerhard Haering <gh at ghaering.de>
#
# This file is part of pysqlite.
#
Index: python.spec
===================================================================
RCS file: /cvs/pkgs/devel/python/python.spec,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- python.spec 10 Sep 2007 15:42:58 -0000 1.118
+++ python.spec 14 Sep 2007 14:44:14 -0000 1.119
@@ -20,7 +20,7 @@
Summary: An interpreted, interactive, object-oriented programming language.
Name: %{python}
Version: 2.5.1
-Release: 10%{?dist}
+Release: 11%{?dist}
License: Python Software Foundation License v2
Group: Development/Languages
Provides: python-abi = %{pybasever}
@@ -34,6 +34,7 @@
Patch4: python-2.5-cflags.patch
Patch5: python-2.5.1-ctypes-exec-stack.patch
Patch6: python-2.5.1-plural-fix.patch
+Patch7: python-2.5.1-sqlite-encoding.patch
# upstreamed
@@ -163,6 +164,7 @@
%patch4 -p1 -b .cflags
%patch5 -p1 -b .ctypesexec
%patch6 -p1 -b .plural
+%patch7 -p1
%patch50 -p1 -b .egginfo
%patch60 -p1 -b .db46
@@ -423,6 +425,10 @@
%{_libdir}/python%{pybasever}/lib-dynload/_tkinter.so
%changelog
+* Fri Sep 14 2007 Jeremy Katz <katzj at redhat.com> - 2.5.1-11
+- fix encoding of sqlite .py files to work around weird encoding problem
+ in Turkish (#283331)
+
* Mon Sep 10 2007 Jeremy Katz <katzj at redhat.com> - 2.5.1-10
- work around problems with multi-line plural specification (#252136)
More information about the fedora-extras-commits
mailing list