Hello community,

here is the log from the commit of package python-psycopg2 for openSUSE:Factory 
checked in at 2012-05-29 11:44:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-psycopg2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-psycopg2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-psycopg2", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-psycopg2/python-psycopg2.changes  
2012-04-17 07:49:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-psycopg2.new/python-psycopg2.changes     
2012-05-29 11:45:58.000000000 +0200
@@ -1,0 +2,15 @@
+Fri May 25 14:07:21 UTC 2012 - [email protected]
+
+- license update: LGPL-3.0+ and (LGPL-3.0+ or ZPL-2.0) and       
+  SUSE-GPL-2.0-with-openssl-exception
+  See the COPYING file. There are GPL-2.0+ (with openssl linking exceptions
+  for pgsql) in the package. Also, the ZPL option is only available for one
+  particular subdirectory in the package
+
+-------------------------------------------------------------------
+Fri May 25 05:32:01 UTC 2012 - [email protected]
+
+- python3 package added
+- minor spec improvement 
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ /work/SRC/openSUSE:Factory/.python-psycopg2.new/python3-psycopg2.changes    
2012-05-29 11:45:58.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Fri May 25 05:28:02 UTC 2012 - [email protected]
+
+- python3 package added 
+

New:
----
  python3-psycopg2.changes
  python3-psycopg2.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-psycopg2.spec ++++++
--- /var/tmp/diff_new_pack.W9Trsh/_old  2012-05-29 11:45:59.000000000 +0200
+++ /var/tmp/diff_new_pack.W9Trsh/_new  2012-05-29 11:45:59.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           python-psycopg2
 Version:        2.4.5
 Release:        0
-License:        LGPL-3.0+ or ZPL-2.0
+License:        LGPL-3.0+ and (LGPL-3.0+ or ZPL-2.0) and       
SUSE-GPL-2.0-with-openssl-exception
 Summary:        Python-PostgreSQL Database Adapter
 Url:            http://initd.org/psycopg/
 Group:          Development/Languages/Python
@@ -68,7 +68,8 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog LICENSE NEWS PKG-INFO README
-%{python_sitearch}/*
+%{python_sitearch}/psycopg2/
+%{python_sitearch}/psycopg2-%{version}-py%{py_ver}.egg-info
 
 %files doc
 %defattr(-,root,root)

++++++ python3-psycopg2.spec ++++++
#
# spec file for package python3-psycopg2
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# 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/
#


Name:           python3-psycopg2
Version:        2.4.5
Release:        0
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
BuildRequires:  fdupes
BuildRequires:  postgresql-devel
BuildRequires:  python3-devel
BuildRequires:  python3-2to3
Suggests:       postgresql-server
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} <= 1140
%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)")}
%endif
Requires:       python(abi) = %{py3_ver}
%if 0%{?suse_version} && 0%{?suse_version} > 1140
BuildRequires:  python3-base
%endif

%description
psycopg2 is a PostgreSQL database adapter for the Python programming
language.  psycopg2 was written with the aim of being very small and fast,
and stable as a rock.

psycopg2 is different from the other database adapter because it was
designed for heavily multi-threaded applications that create and destroy
lots of cursors and make a conspicuous number of concurrent INSERTs or
UPDATEs. psycopg2 also provide full asycronous operations and support
for coroutine libraries.

%package doc
Summary:        Documentation for psycopg python PostgreSQL database adapter
Group:          Documentation/HTML
Requires:       %{name} = %{version}

%description doc
Documentation and example files for the psycopg python PostgreSQL database 
adapter.

%prep
%setup -q -n psycopg2-%{version}

%build
CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build
rm -rf doc/src doc/html/.buildinfo # Remove junk

%install
python3 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 %{buildroot}                # Create hardlinks for the rest

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE NEWS PKG-INFO README
%{python3_sitearch}/psycopg2
%{python3_sitearch}/psycopg2-%{version}-py%{py3_ver}.egg-info
%files doc
%defattr(-,root,root)
%doc doc/html examples/

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to