Disable 7.4+ features
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=16
This commit is contained in:
parent
1d8b5fd8c9
commit
a9c4e6c4d1
11
postgresql-7.3.patch
Normal file
11
postgresql-7.3.patch
Normal file
@ -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)
|
@ -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 <jfunk@funktronics.ca> - 2.0.8-1
|
||||
- Update to 2.0.8
|
||||
- Disable 7.4+ features
|
||||
|
||||
* Fri Jan 19 2007 - Cristian Rodriguez <judas_iscariote@shorewall.net> - 2.0.5.1-1
|
||||
- Update version
|
||||
- compile with -fno-strict-aliasing otherwise gcc complains.
|
||||
|
Loading…
x
Reference in New Issue
Block a user