forked from pool/python-Cython
Accepting request 356504 from openSUSE:Factory:Staging:Gcc6
- Add python-Cython-c++11.patch to fix complex math testcase compile with GCC 6 defaulting to C++14. (bnc#963974) OBS-URL: https://build.opensuse.org/request/show/356504 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=65
This commit is contained in:
committed by
Git OBS Bridge
parent
5608cb2d78
commit
01513e7952
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Cython
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,6 +25,7 @@ License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Source: http://cython.org/release/Cython-%{version}.tar.gz
|
||||
Source1: python-Cython-rpmlintrc
|
||||
Patch1: python-Cython-c++11.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@@ -57,6 +58,7 @@ code.
|
||||
|
||||
%prep
|
||||
%setup -q -n Cython-%{version}
|
||||
%patch1
|
||||
# Fix non-executable scripts
|
||||
sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py
|
||||
# Fix EOL encoding
|
||||
|
Reference in New Issue
Block a user