From a9c4e6c4d170d069ed477a987c5ef4e5478f8c58d05226481ca64ca49690e75f Mon Sep 17 00:00:00 2001 From: James Oakley Date: Thu, 20 Nov 2008 20:53:29 +0000 Subject: [PATCH] Disable 7.4+ features OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=16 --- postgresql-7.3.patch | 11 +++++++++++ python-psycopg2.spec | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 postgresql-7.3.patch diff --git a/postgresql-7.3.patch b/postgresql-7.3.patch new file mode 100644 index 0000000..e1d24ba --- /dev/null +++ b/postgresql-7.3.patch @@ -0,0 +1,11 @@ +Index: setup.cfg +=================================================================== +--- setup.cfg.orig 2008-09-16 04:55:28.000000000 -0300 ++++ setup.cfg 2008-11-20 16:52:19.000000000 -0400 +@@ -1,5 +1,5 @@ + [build_ext] +-define=PSYCOPG_EXTENSIONS,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3 ++define=PSYCOPG_EXTENSIONS,PSYCOPG_NEW_BOOLEAN, + + # PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this) + # PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower) diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 5dc0302..1848d77 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -7,6 +7,7 @@ Release: 1 License: GPL Group: Development/Libraries/Python Source: %{modname}-%{version}.tar.bz2 +Patch: postgresql-7.3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root %{py_requires} BuildRequires: python-devel postgresql-devel @@ -48,6 +49,10 @@ rm -rf %{buildroot} %changelog +* Thu Nov 20 2008 - James Oakley - 2.0.8-1 +- Update to 2.0.8 +- Disable 7.4+ features + * Fri Jan 19 2007 - Cristian Rodriguez - 2.0.5.1-1 - Update version - compile with -fno-strict-aliasing otherwise gcc complains.