From 2382c8ff4aa76165c4a31893bb3922f40e315e40 Mon Sep 17 00:00:00 2001 From: pcpa Date: Wed, 21 Dec 2016 14:20:49 -0500 Subject: [PATCH] Correct cython patch --- sagemath.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sagemath.spec b/sagemath.spec index 05a8acf..8f8fd8e 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -802,9 +802,9 @@ export PYTHONPATH=%{_builddir}%{python_sitearch}:$PYTHONPATH PATCH=$PWD/build/pkgs/cython/patches/pxi_sys_path.patch pushd %{_builddir}%{python_sitearch} patch -p1 < $PATCH + # https://bugzilla.redhat.com/show_bug.cgi?id=1406533 + sed -i 's/disallow/dissallow/' Cython/Compiler/Options.py popd - # https://bugzilla.redhat.com/show_bug.cgi?id=1406533 - sed -i 's/disallow/dissallow/' Cython/Compiler/Options.py %endif # Restore environment used to generate bundled interfaces