From 7bc67fbfa8705cb8076b2f5996044f17ac47c888 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 21 Nov 2013 20:15:22 +0100 Subject: [PATCH] - added db patch (support db 6.0) --- python3-db.patch | 11 +++++++++++ python3.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 python3-db.patch 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? + 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 -- 2.43.0