forked from pool/python-psycopg2
- Can't hurt to suggest postgresql-server
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=31
This commit is contained in:
committed by
Git OBS Bridge
parent
726e886b27
commit
6a4fdc4acc
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user