14
0

Accepting request 390353 from home:Simmphonie:python

OBS-URL: https://build.opensuse.org/request/show/390353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=35
This commit is contained in:
2016-04-17 20:13:20 +00:00
committed by Git OBS Bridge
parent 3c581346e2
commit 41ca1378b8
5 changed files with 12 additions and 45 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-greenlet
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -18,20 +18,18 @@
Name: python-greenlet
Version: 0.4.7
Version: 0.4.9
Release: 0
Url: http://pypi.python.org/pypi/greenlet
Summary: Lightweight in-process concurrent programming
License: MIT
Group: Development/Libraries/Python
Source0: http://pypi.python.org/packages/source/g/greenlet/greenlet-%{version}.zip
Patch1: ppc64le-support.patch
Source0: http://pypi.python.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: python-Sphinx
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: unzip
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
@@ -55,7 +53,6 @@ This package contains header files required for C modules development.
%prep
%setup -q -n greenlet-%{version}
%patch1 -p1
%build
CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" python setup.py build