From 610697dbec6172d9f7f653869bab0817be8469f6 Mon Sep 17 00:00:00 2001 From: konradm Date: Mon, 15 Feb 2010 13:32:48 +0000 Subject: [PATCH] - Remove private copy of system lib 'mpmath' (rhbz #551576). --- sympy.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sympy.spec b/sympy.spec index e849884..3eaf395 100644 --- a/sympy.spec +++ b/sympy.spec @@ -2,7 +2,7 @@ Name: sympy Version: 0.6.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Python library for symbolic mathematics Group: Development/Languages License: BSD @@ -12,6 +12,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel +Requires: python-mpmath %description @@ -34,6 +35,10 @@ rm -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} # Remove extra files rm -f %{buildroot}%{_bindir}/{,doc}test +rm -rf %{buildroot}%{python_sitelib}/sympy/mpmath/ +pushd %{buildroot}%{python_sitelib}/sympy/ + ln -s %{python_sitelib}/mpmath/ +popd %clean rm -rf %{buildroot} @@ -49,6 +54,9 @@ rm -rf %{buildroot} %changelog +* Mon Feb 15 2010 Conrad Meyer - 0.6.6-2 +- Remove private copy of system lib 'mpmath' (rhbz #551576). + * Sun Dec 27 2009 Jussi Lehtola - 0.6.6-1 - Update to 0.6.6.