14
0

Accepting request 126971 from home:k0da:ppc

- add ppc64 platform support
- fix ppc platform

OBS-URL: https://build.opensuse.org/request/show/126971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=4
This commit is contained in:
Todd R
2012-07-04 10:28:05 +00:00
committed by Git OBS Bridge
parent 9a477dd2db
commit dd66a1b06b
4 changed files with 121 additions and 0 deletions

View File

@@ -28,6 +28,10 @@ Source0: http://pypi.python.org/packages/source/g/greenlet/greenlet-%{ver
Patch1: i686-register-fixes.patch
# PATCH-FIX-UPSTREAM idoenmez@suse.de get-rid-of-ts_origin.patch -- Upstream commit 2d5b17472757
Patch2: get-rid-of-ts_origin.patch
# PATCH-FIX-UPSTREAM dvaleev@suse.com ppc64-support.patch - Upstream commit b17773a780
Patch3: ppc64-support.patch
# PATCH-FIX-OPENSUSE dvaleev@suse.com ppc-support.patch - Fix ppc build (32bit)
Patch4: ppc-support.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
@@ -54,6 +58,8 @@ This package contains header files required for C modules development.
%setup -q -n greenlet-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build