From 34778ec224321ebd2762254c4f97df8e0aa9f89c81f764aedb3ee37ce259cf0f Mon Sep 17 00:00:00 2001 From: James Oakley Date: Tue, 25 Aug 2009 15:07:49 +0000 Subject: [PATCH] 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 --- psycopg2-2.0.10.tar.bz2 | 3 --- psycopg2-2.0.12.tar.bz2 | 3 +++ python-psycopg2.changes | 4 ++++ python-psycopg2.spec | 11 ++++++++--- 4 files changed, 15 insertions(+), 6 deletions(-) delete mode 100644 psycopg2-2.0.10.tar.bz2 create mode 100644 psycopg2-2.0.12.tar.bz2 diff --git a/psycopg2-2.0.10.tar.bz2 b/psycopg2-2.0.10.tar.bz2 deleted file mode 100644 index d00dd29..0000000 --- a/psycopg2-2.0.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e5abab438343bab0a67b2ac149542d2c619e525a1b52b0dfecc80397a31d81b2 -size 218238 diff --git a/psycopg2-2.0.12.tar.bz2 b/psycopg2-2.0.12.tar.bz2 new file mode 100644 index 0000000..6d79bf8 --- /dev/null +++ b/psycopg2-2.0.12.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:195921a767adb4f93d442a1ba027858d2413cc5d9daa7316feaa7c16b4bc0b07 +size 218488 diff --git a/python-psycopg2.changes b/python-psycopg2.changes index b89454b..8b70e1a 100644 --- a/python-psycopg2.changes +++ b/python-psycopg2.changes @@ -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 diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 74e38f3..021cab2 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -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 %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}