15
0
forked from pool/python-gevent

Accepting request 236960 from home:Andreas_Schwab:Factory

- libev.patch: fix syntax error in preprocessor conditional

OBS-URL: https://build.opensuse.org/request/show/236960
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=13
This commit is contained in:
Sascha Peilicke
2014-06-17 09:03:51 +00:00
committed by Git OBS Bridge
parent 176638dfbc
commit 79b1f6ce3b
3 changed files with 33 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-gevent
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@ Summary: Python network library that uses greenlet and libevent
License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/g/gevent/gevent-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix syntax error in preprocessor conditional (github issue 361)
Patch: libev.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libevent-devel
#BuildRequires: python-Sphinx
@@ -54,6 +56,7 @@ out the list of the open source projects based on gevent.
%prep
%setup -q -n gevent-%{version}
%patch -p1
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build