From 6a4fdc4acc767f17ddfa9a6b15fbc492e8e7f7ba08a6302b4660b6a2a8e97703 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 27 Mar 2012 09:27:26 +0000 Subject: [PATCH] - 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