OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=5
This commit is contained in:
parent
540aa0489a
commit
53eb25ef0f
@ -2,13 +2,11 @@
|
|||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
URL: http://initd.org/projects/psycopg1
|
URL: http://initd.org/projects/psycopg1
|
||||||
Summary: A PostgreSQL database adapter for Python
|
Summary: A PostgreSQL database adapter for Python
|
||||||
Version: 2.0.2
|
Version: 2.0.5.1
|
||||||
Release: 10
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Source: %{modname}-%{version}.tar.bz2
|
Source: %{modname}-%{version}.tar.gz
|
||||||
Patch: %{modname}-%{version}-pg_includedir.patch
|
|
||||||
Patch1: %{modname}-stfu.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
%{py_requires}
|
%{py_requires}
|
||||||
BuildRequires: python-devel postgresql-devel
|
BuildRequires: python-devel postgresql-devel
|
||||||
@ -32,11 +30,9 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
#%patch -p1
|
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -52,6 +48,10 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jul 26 2006 - James Oakley <jfunk@funktronics.ca> - 2.0.2-10
|
||||||
- Disable debugging
|
- Disable debugging
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user