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