[packages/python3] - added db patch (support db 6.0)

qboosh qboosh at pld-linux.org
Thu Nov 21 20:14:33 CET 2013


commit 7bc67fbfa8705cb8076b2f5996044f17ac47c888
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Nov 21 20:15:22 2013 +0100

    - added db patch (support db 6.0)

 python3-db.patch | 11 +++++++++++
 python3.spec     |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/python3.spec b/python3.spec
index 5a41d13..c1979bf 100644
--- a/python3.spec
+++ b/python3.spec
@@ -52,6 +52,7 @@ Patch4:		%{name}-no_cmdline_tests.patch
 Patch5:		%{name}-makefile-location.patch
 Patch6:		libc-cloexec.patch
 Patch7:		python-distro.patch
+Patch8:		%{name}-db.patch
 URL:		http://www.python.org/
 BuildRequires:	autoconf >= 2.65
 BuildRequires:	bluez-libs-devel
@@ -455,6 +456,7 @@ Przykłady te są dla Pythona 2.3.4, nie %{version}.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %{__rm} -r Modules/zlib
 %{__rm} -r Modules/expat
diff --git a/python3-db.patch b/python3-db.patch
new file mode 100644
index 0000000..34939ee
--- /dev/null
+++ b/python3-db.patch
@@ -0,0 +1,11 @@
+--- Python-3.3.3/setup.py.orig	2013-11-21 18:36:59.259841950 +0100
++++ Python-3.3.3/setup.py	2013-11-21 19:07:23.173098741 +0100
+@@ -835,7 +835,7 @@
+         # a release.  Most open source OSes come with one or more
+         # versions of BerkeleyDB already installed.
+ 
+-        max_db_ver = (5, 3)
++        max_db_ver = (6, 0)
+         min_db_ver = (3, 3)
+         db_setup_debug = False   # verbose debug prints from this script?
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/7bc67fbfa8705cb8076b2f5996044f17ac47c888



More information about the pld-cvs-commit mailing list