Add patch to workaround cython wrong defs (#961372)

This commit is contained in:
pcpa 2013-05-11 12:46:42 -03:00
parent ac9063d003
commit 173cd60d9a
2 changed files with 26 additions and 1 deletions

View file

@ -74,7 +74,7 @@ Name: sagemath
Group: Applications/Engineering
Summary: A free open-source mathematics software system
Version: 5.9
Release: 1%{?dist}
Release: 2%{?dist}
# The file ${SAGE_ROOT}/COPYING.txt is the upstream license breakdown file
# Additionally, every $files section has a comment with the license name
# before files with that license
@ -215,6 +215,10 @@ Patch32: %{name}-cryptominisat.patch
# Adapt to m4rie 20130416
Patch33: %{name}-m4rie.patch
# Until cython is fixed for f18 and f19; just override wrong cython definition
# https://bugzilla.redhat.com/show_bug.cgi?id=961372
Patch34: %{name}-rh_bz_961372.patch
BuildRequires: 4ti2
BuildRequires: atlas-devel
BuildRequires: cddlib-tools
@ -699,6 +703,10 @@ popd
%patch33 -p1
%endif
%if 0%{?fedora} <= 19
%patch34 -p1
%endif
#------------------------------------------------------------------------
# ensure proper/preferred libatlas is in linker path
pushd spkg/build/sage-%{version}
@ -1415,6 +1423,9 @@ exit 0
########################################################################
%changelog
* Sat May 11 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.9-2
- Build in f18 and f18 with workaround to cython wrong defines (#961372)
* Mon May 6 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.9-1
- Update to sagemath 5.9.
- Match upstream rename of SAGE_DEVEL to SAGE_SRC.