Added %check phase.

This commit is contained in:
Jussi Lehtola 2010-04-27 07:10:13 +00:00
parent 80ac130c63
commit 3eb9aba93b

View File

@ -2,7 +2,7 @@
Name: sympy
Version: 0.6.7
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A Python library for symbolic mathematics
Group: Development/Languages
License: BSD
@ -37,6 +37,9 @@ rm -rf %{buildroot}
python setup.py install -O1 --skip-build --root %{buildroot}
# Remove extra files
rm -f %{buildroot}%{_bindir}/{,doc}test
%check
python setup.py test
%clean
rm -rf %{buildroot}
@ -50,6 +53,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/isympy.1*
%changelog
* Tue Apr 27 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.6.7-2
- Added %%check phase.
* Tue Apr 27 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0.6.7-1
- Update to 0.6.7.