14
0
forked from pool/python-Cython
Sascha Peilicke
2013-03-27 12:20:00 +00:00
committed by Git OBS Bridge
parent ce0497cdad
commit 74e6b4489b
6 changed files with 22 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python3-Cython
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@@ -17,7 +17,7 @@
Name: python3-Cython
Version: 0.17.2
Version: 0.18
Release: 0
Url: http://www.cython.org
Summary: The Cython compiler for writing C extensions for the Python language
@@ -26,8 +26,6 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/C/Cython/Cython-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel
%description
@@ -47,7 +45,7 @@ code.
%prep
%setup -q -n Cython-%{version}
sed -i "s|^#!.*||" {Cython/Debugger/libpython,Cython/Debugger/Cygdb,cython}.py # Fix non-executable scripts
sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py # Fix non-executable scripts
sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} Demos/embed/Makefile.{unix,msc.static} Doc/primes.c # Fix EOL encoding
%build