From 53eb25ef0f4602b090aff466ba751cbb9df01468a6fa2860ab62c0ed3ace614e Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 20 Jan 2007 01:54:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=5 --- python-psycopg2.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 619bc91..5f755c3 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -2,13 +2,11 @@ Name: python-%{modname} URL: http://initd.org/projects/psycopg1 Summary: A PostgreSQL database adapter for Python -Version: 2.0.2 -Release: 10 +Version: 2.0.5.1 +Release: 1 License: GPL Group: Development/Libraries/Python -Source: %{modname}-%{version}.tar.bz2 -Patch: %{modname}-%{version}-pg_includedir.patch -Patch1: %{modname}-stfu.patch +Source: %{modname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root %{py_requires} BuildRequires: python-devel postgresql-devel @@ -32,11 +30,9 @@ Authors: %prep %setup -q -n %{modname}-%{version} -#%patch -p1 -%patch1 -p1 %build -export CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" python setup.py build %install @@ -52,6 +48,10 @@ rm -rf %{buildroot} %changelog +* Fri Jan 19 2007 - Cristian Rodriguez - 2.0.5.1-1 +- Update version +- compile with -fno-strict-aliasing otherwise gcc complains. +- deactivate unneeded patches. * Wed Jul 26 2006 - James Oakley - 2.0.2-10 - Disable debugging