14
0
forked from pool/python-Cython

Accepting request 316028 from home:termim:branches:devel:languages:python

update to 0.22.1

OBS-URL: https://build.opensuse.org/request/show/316028
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=58
This commit is contained in:
Michal Čihař
2015-07-13 11:00:08 +00:00
committed by Git OBS Bridge
parent f2c4dec55e
commit 23073e6890
5 changed files with 33 additions and 129 deletions

View File

@@ -17,7 +17,7 @@
Name: python-Cython
Version: 0.22
Version: 0.22.1
Release: 0
Url: http://www.cython.org
Summary: The Cython compiler for writing C extensions for the Python language
@@ -25,8 +25,6 @@ License: Apache-2.0
Group: Development/Languages/Python
Source: http://cython.org/release/Cython-%{version}.tar.gz
Source1: python-Cython-rpmlintrc
# PATCH-FIX-UPSTREAM -- https://github.com/cython/cython/commit/65408e6c70074c4fec128805888d18c7e933895a
Patch0: fix-32bit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -64,7 +62,6 @@ code.
sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py
# Fix EOL encoding
sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} Demos/embed/Makefile.{unix,msc.static} Doc/primes.c
%patch0 -p1
%build
CFLAGS="%{optflags}" python setup.py build