From 6a4fdc4acc767f17ddfa9a6b15fbc492e8e7f7ba08a6302b4660b6a2a8e97703 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 27 Mar 2012 09:27:26 +0000 Subject: [PATCH 1/2] - Can't hurt to suggest postgresql-server OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=31 --- python-psycopg2.changes | 5 +++++ python-psycopg2.spec | 15 ++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/python-psycopg2.changes b/python-psycopg2.changes index a069285..4fb711f 100644 --- a/python-psycopg2.changes +++ b/python-psycopg2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 27 09:27:25 UTC 2012 - saschpe@suse.de + +- Can't hurt to suggest postgresql-server + ------------------------------------------------------------------- Mon Mar 12 21:10:27 UTC 2012 - saschpe@gmx.de diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 7852423..92fdf73 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -11,7 +11,7 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -19,15 +19,16 @@ Name: python-psycopg2 Version: 2.4.4 Release: 0 -Url: http://initd.org/psycopg/ -Summary: Python-PostgreSQL Database Adapter License: LGPL-3.0+ or ZPL-2.0 +Summary: Python-PostgreSQL Database Adapter +Url: http://initd.org/psycopg/ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: postgresql-devel BuildRequires: fdupes +BuildRequires: postgresql-devel +BuildRequires: python-devel +Suggests: postgresql-server +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif @@ -61,7 +62,7 @@ rm -rf doc/src doc/html/.buildinfo # Remove junk %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -rf %{buildroot}%{python_sitearch}/psycopg2/tests # Don't package testsuite -%fdupes -s %{buildroot}/%_mandir # Create symlinks for man pages +%fdupes -s %{buildroot}/%{_mandir} # Create symlinks for man pages %fdupes %{buildroot} # Create hardlinks for the rest %files From 4df5df58ddd37862f4037e3d34f8a9a6ab871e3c81b8089fd2b288cc24e2a8c9 Mon Sep 17 00:00:00 2001 From: James Oakley Date: Fri, 6 Apr 2012 19:07:13 +0000 Subject: [PATCH 2/2] - Update to 2.4.5: * The close() methods on connections and cursors don't raise exceptions if called on already closed objects. * Fixed fetchmany() with no argument in cursor subclasses (ticket #84). * Use lo_creat() instead of lo_create() when possible for better interaction with pgpool-II (ticket #88). * Error and its subclasses are picklable, useful for multiprocessing interaction (ticket #90). * Better efficiency and formatting of timezone offset objects thanks to Menno Smits (tickets #94, #95). * Fixed 'rownumber' during iteration on cursor subclasses. Regression introduced in 2.4.4 (ticket #100). * Added support for 'inet' arrays. * Fixed 'commit()' concurrency problem (ticket #103). * Codebase cleaned up using the GCC Python plugin's static analysis tool, which has revealed several unchecked return values, possible NULL dereferences, reference counting problems. Many thanks to David Malcolm for the useful tool and the assistance provided using it. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=32 --- psycopg2-2.4.4.tar.gz | 3 --- psycopg2-2.4.5.tar.gz | 3 +++ python-psycopg2.changes | 23 +++++++++++++++++++++++ python-psycopg2.spec | 2 +- 4 files changed, 27 insertions(+), 4 deletions(-) delete mode 100644 psycopg2-2.4.4.tar.gz create mode 100644 psycopg2-2.4.5.tar.gz diff --git a/psycopg2-2.4.4.tar.gz b/psycopg2-2.4.4.tar.gz deleted file mode 100644 index 843ab2d..0000000 --- a/psycopg2-2.4.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c55b059d33f6b2cbb52f254320832c0ca30498ae06f4f4df2a2b38af989127e -size 648954 diff --git a/psycopg2-2.4.5.tar.gz b/psycopg2-2.4.5.tar.gz new file mode 100644 index 0000000..3191e88 --- /dev/null +++ b/psycopg2-2.4.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48b702a7ca479e1bc2c1a7b81875a07d474298132605993e2cb979f5e08277d7 +size 719343 diff --git a/python-psycopg2.changes b/python-psycopg2.changes index 4fb711f..cbe4d3e 100644 --- a/python-psycopg2.changes +++ b/python-psycopg2.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Fri Apr 6 19:05:14 UTC 2012 - jfunk@funktronics.ca + +- Update to 2.4.5: + * The close() methods on connections and cursors don't raise exceptions + if called on already closed objects. + * Fixed fetchmany() with no argument in cursor subclasses + (ticket #84). + * Use lo_creat() instead of lo_create() when possible for better + interaction with pgpool-II (ticket #88). + * Error and its subclasses are picklable, useful for multiprocessing + interaction (ticket #90). + * Better efficiency and formatting of timezone offset objects thanks + to Menno Smits (tickets #94, #95). + * Fixed 'rownumber' during iteration on cursor subclasses. + Regression introduced in 2.4.4 (ticket #100). + * Added support for 'inet' arrays. + * Fixed 'commit()' concurrency problem (ticket #103). + * Codebase cleaned up using the GCC Python plugin's static analysis + tool, which has revealed several unchecked return values, possible + NULL dereferences, reference counting problems. Many thanks to David + Malcolm for the useful tool and the assistance provided using it. + ------------------------------------------------------------------- Tue Mar 27 09:27:25 UTC 2012 - saschpe@suse.de diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 92fdf73..eaaec3e 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -17,7 +17,7 @@ Name: python-psycopg2 -Version: 2.4.4 +Version: 2.4.5 Release: 0 License: LGPL-3.0+ or ZPL-2.0 Summary: Python-PostgreSQL Database Adapter