Patch around BZ #564504.

This commit is contained in:
Jussi Lehtola 2010-09-06 21:04:07 +03:00
parent 65c1ebf20b
commit 704bb4e531

View File

@ -2,7 +2,7 @@
Name: sympy
Version: 0.6.7
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A Python library for symbolic mathematics
Group: Development/Languages
License: BSD
@ -16,6 +16,9 @@ Patch0: sympy-0.6.7-strip-internal-mpmath.diff
# Not yet sent upstream:
Patch1: sympy-python27.patch
# Add mpf symbols
Patch2: sympy-0.6.7-mpf.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -33,7 +36,9 @@ Python and does not require any external libraries.
%setup -q
%patch0 -p1 -b .mpmath
rm -rf sympy/mpmath doc/src/modules/mpmath
%patch1 -p1
%patch2 -p1
%build
python setup.py build
@ -59,6 +64,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/isympy.1*
%changelog
* Mon Aug 30 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.6.7-5
- Patch around BZ #564504.
* Sat Jul 31 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.7-4
- fix a python 2.7 incompatibility