- Remove private copy of system lib 'mpmath' (rhbz #551576).

This commit is contained in:
konradm 2010-02-15 13:32:48 +00:00
parent 28422ac991
commit 610697dbec

View File

@ -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 <konrad@tylerc.org> - 0.6.6-2
- Remove private copy of system lib 'mpmath' (rhbz #551576).
* Sun Dec 27 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.6.6-1
- Update to 0.6.6.