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:
James Oakley 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

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5abab438343bab0a67b2ac149542d2c619e525a1b52b0dfecc80397a31d81b2
size 218238

3
psycopg2-2.0.12.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:195921a767adb4f93d442a1ba027858d2413cc5d9daa7316feaa7c16b4bc0b07
size 218488

View File

@ -1,3 +1,7 @@
-------------------------------------------------------------------
Tue Aug 25 13:14:38 UTC 2009 - jnelson-suse@jamponi.net
- Add --optimize=2 to build .pyo files, correct License and Url
-------------------------------------------------------------------
Tue Aug 18 13:14:38 UTC 2009 - jfunk@funktronics.ca

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}