Hello community,

here is the log from the commit of package python-psycopg2 for openSUSE:Factory 
checked in at 2012-03-13 09:38:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-02-16 10:09:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-psycopg2.new/python-psycopg2.changes     
2012-03-13 09:38:56.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Mar 12 21:10:27 UTC 2012 - [email protected]
+
+- Simplify macro usage
+- Remove outdated SUSE version checks
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-psycopg2.spec ++++++
--- /var/tmp/diff_new_pack.bMHzeR/_old  2012-03-13 09:38:58.000000000 +0100
+++ /var/tmp/diff_new_pack.bMHzeR/_new  2012-03-13 09:38:58.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-psycopg2
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -23,17 +23,14 @@
 Summary:        Python-PostgreSQL Database Adapter
 License:        LGPL-3.0+ or ZPL-2.0
 Group:          Development/Languages/Python
-Source:         psycopg2-%{version}.tar.gz
+Source:         
http://pypi.python.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  postgresql-devel
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1010
 BuildRequires:  fdupes
+%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
-%endif
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 %description
 psycopg2 is a PostgreSQL database adapter for the Python programming
@@ -64,10 +61,8 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 rm -rf %{buildroot}%{python_sitearch}/psycopg2/tests # Don't package testsuite
-%if 0%{?suse_version} > 1010
 %fdupes -s %{buildroot}/%_mandir    # Create symlinks for man pages
 %fdupes %{buildroot}                # Create hardlinks for the rest
-%endif
 
 %files
 %defattr(-,root,root,-)

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

Reply via email to