OBS User unknown 2007-01-20 01:54:57 +00:00 committed by Git OBS Bridge
parent 540aa0489a
commit 53eb25ef0f

View File

@ -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 <judas_iscariote@shorewall.net> - 2.0.5.1-1
- Update version
- compile with -fno-strict-aliasing otherwise gcc complains.
- deactivate unneeded patches.
* Wed Jul 26 2006 - James Oakley <jfunk@funktronics.ca> - 2.0.2-10
- Disable debugging