14
0

Copy from home:jnelson-suse:branches:devel:languages:python/python-psycopg2 via accept of submit request 18644

Request was accepted with message:
Thanks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=20
This commit is contained in:
2009-08-25 15:07:49 +00:00
committed by Git OBS Bridge
parent 72910d89ea
commit 34778ec224
4 changed files with 15 additions and 6 deletions

View File

@@ -18,13 +18,14 @@ Name: python-psycopg2
Summary: A PostgreSQL database adapter for Python
Version: 2.0.12
Release: 1
Url: http://initd.org/projects/psycopg1
License: X11/MIT
Url: http://initd.org/tracker/psycopg
License: GPL with exceptions or ZPL
Group: Development/Languages/Python
Source: %{modname}-%{version}.tar.bz2
%{py_requires}
BuildRequires: postgresql-devel python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#Vendor: Federico Di Gregorio <fog@initd.org>
%description
psycopg is a PostgreSQL database adapter for the Python programming language.
@@ -52,7 +53,11 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%{__python} setup.py install \
--prefix=%{_prefix} \
--root=$RPM_BUILD_ROOT \
--record-rpm=INSTALLED_FILES \
--optimize=2
%clean
rm -rf %{buildroot}